Part Number Hot Search : 
D100N 1A194 D5V0S 99002E3 B5950 21PA1 DS2175N UESD56B
Product Description
Full Text Search
 

To Download SMCXXXBF Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  preliminary data this is preliminary information on a new product now in deve lopment or undergoing evaluation. details are subject to change without notice. october 2006 rev 2 1/91 2 SMCXXXBF 32mbyte, 64mbyte, 128mbyte, 256mbyte, 512mbyte, 1gbyte, 2gbyte, and 4gbyte 3.3/5v supply compactflash? card features custom-designed, highly-integrated memory controller ? fully compliant with compactflash tm specification 3.0 ? fully compatible with pcmcia specification ? pc card ata interface supported ? true ide mode compatible ? up to pio mode 6 supported ? up to 4 multi-word dma supported ? hardware rs-code ecc (4 bytes/528 bytes correction) small form factor ? 36.4mm x 42.8mm x 3.3mm low-power cmos technology 3.3v / 5.0v power supply power saving mode (with automatic wake-up) high reliability ? mtbf > 3,000,000 hours ? data reliability: < 1 non-recoverable error per 10 14 bits read ? endurance: > 2,000,000 erase/program cycles ? number of card insertions/removals: >10,000 hot swappable high performance ? up to 23.8mb/s transfer rate ? sustained write performance (host to card): 12.5mb/s ? sustained read performance (host to card: 19mb/s) available densities (formatted) ? 32 mbytes to 4 gbytes operating system support ? standard software drivers operation compactflash tm www.st.com
SMCXXXBF 2/91 table 1. product list reference part number package form factor operating voltage range SMCXXXBF smc032bf cf type i 3.3v+-5%, 5v+-10% smc064bf smc128bf smc256bf smc512bf smc01gbf smc02gbf smc04gbf
SMCXXXBF contents 3/91 contents 1 summary description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2 capacity specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3 card physical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.1 physical description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4 electrical interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.1 electrical description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.2 electrical specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.3 current measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.4 additional requirements for compactf lash advanced timing mode . . . . 23 5 command interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.1 attribute memory read and write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.2 common memory read and write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 5.3 i/o read and write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5.4 true ide mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 6 card configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 6.1 configuration option register (200h in attribute memory) . . . . . . . . . . . 34 6.1.1 sreset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.1.2 levlreq . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.1.3 conf5 - conf0 (configuration index) . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.2 card configuration and status register (202h in attribute memory) . . . . 35 6.2.1 changed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2.2 sigchg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2.3 iois8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2.4 pwrdwn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2.5 int . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.3 pin replacement register (204h in attribute memory) . . . . . . . . . . . . . . 36 6.3.1 cready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.3.2 cwprot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
contents SMCXXXBF 4/91 6.3.3 rready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.3.4 wprot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.3.5 mready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.3.6 mwprot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.4 socket and copy register (206h in attribute memory) . . . . . . . . . . . . . . 37 6.4.1 drive # . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 6.4.2 x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 6.5 attribute memory function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 6.6 i/o transfer function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 6.7 common memory transfer function . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 6.8 true ide mode i/o function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 7 host configuration requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 8 software interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 8.1 cf-ata drive register set definition and protocol . . . . . . . . . . . . . . . . . 43 8.2 memory mapped addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 8.3 contiguous i/o mapped addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 8.4 i/o primary and secondary address configurations . . . . . . . . . . . . . . . . 46 8.5 true ide mode addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 9 cf-ata registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 9.1 data register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 9.2 error register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.2.1 bit 7 (bbk) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.2.2 bit 6 (unc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.2.3 bit 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.2.4 bit 4 (idnf) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.2.5 bit 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.2.6 bit 2 (abort) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.2.7 bit 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.2.8 bit 0 (amnf) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 9.3 feature register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 9.4 sector count register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 9.5 sector number (lba 7-0) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
SMCXXXBF contents 5/91 9.6 cylinder low (lba 15-8) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 9.7 cylinder high (lba 23-16) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 9.8 drive/head (lba 27-24) register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.8.1 bit 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.8.2 bit 6 (lba) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.8.3 bit 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.8.4 bit 4 (drv) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.8.5 bit 3 (hs3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.8.6 bit 2 (hs2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.8.7 bit 1 (hs1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.8.8 bit 0 (hs0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.9 status & alternate status registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.9.1 bit 7 (busy) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.9.2 bit 6 (rdy) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.9.3 bit 5 (dwf) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.9.4 bit 4 (dsc) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.9.5 bit 3 (drq) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.9.6 bit 2 (corr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.9.7 bit 1 (idx) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.9.8 bit 0 (err) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 9.10 device control register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 9.10.1 bit 7 to 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 9.10.2 bit 2 (sw rst) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 9.10.3 bit 1 (?ien) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 9.10.4 bit 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 9.11 card (drive) address register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.11.1 bit 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.11.2 bit 6 (?wtg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.11.3 bit 5 (?hs3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.11.4 bit 4 (?hs2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.11.5 bit 3 (?hs1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.11.6 bit 2 (?hs0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.11.7 bit 1 (?nds1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.11.8 bit 0 (?nds0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 10 cf-ata command description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
contents SMCXXXBF 6/91 10.1 check power mode (98h or e5h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 10.2 execute drive diagnostic (90h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 10.3 erase sector(s) (c0h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 10.4 identify drive (ech) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 10.4.1 word 0: general configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 10.4.2 word 1: default number of cylinders . . . . . . . . . . . . . . . . . . . . . . . . . . 58 10.4.3 word 3: default number of heads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 10.4.4 word 6: default number of sectors per track . . . . . . . . . . . . . . . . . . . . 59 10.4.5 word 7-8: number of sectors per card . . . . . . . . . . . . . . . . . . . . . . . . . 59 10.4.6 word 10-19: memory card serial number . . . . . . . . . . . . . . . . . . . . . . 59 10.4.7 word 23-26: firmware revision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 10.4.8 word 27-46: model number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 10.4.9 word 47: read/write multiple sector count . . . . . . . . . . . . . . . . . . . . . 59 10.4.10 word 49: capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59 10.4.11 word 51: pio data transfer cycle timing mode . . . . . . . . . . . . . . . . . . 59 10.4.12 word 53: translation parameter valid . . . . . . . . . . . . . . . . . . . . . . . . . . 59 10.4.13 word 54-56: current number of cylinders, heads, sectors/track . . . . 59 10.4.14 word 57-58: current capacity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 10.4.15 word 59: multiple sector setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 10.4.16 word 60-61: total sectors addressable in lba mode . . . . . . . . . . . . . . 60 10.4.17 word 63: multi-word dma transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 10.4.18 word 64: advanced pio transfer modes supported . . . . . . . . . . . . . . . 61 10.4.19 word 65: minimum multi-word dma transfer cycle time . . . . . . . . . . . . 61 10.4.20 word 66: recommended multi-word dma transfer cycle time . . . . . . . 61 10.4.21 word 67: minimum pio transfer cycle time without flow control . . . . . . 61 10.4.22 word 68: minimum pio transfer cycle time with iordy . . . . . . . . . . . . 61 10.4.23 word 163: advanced true ide timi ng mode capabilities and settings . 62 10.4.24 word 164: advanced pcmcia i/o and memory timing modes capabilities and settings 62 10.5 idle (97h or e3h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 10.6 idle immediate (95h or e1h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 10.7 initialize drive parameters (91h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 10.8 nop (00h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 10.9 read buffer (e4h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 10.10 read dma (c8h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 10.11 read multiple (c4h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
SMCXXXBF contents 7/91 10.12 read sector(s) (20h or 21h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 10.13 read verify sector(s) (40h or 41h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 10.14 recalibrate (1xh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 10.15 request sense (03h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 10.16 seek (7xh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 10.17 set features (efh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 10.18 set multiple mode (c6h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 10.19 set sleep mode (99h or e6h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 10.20 standby (96h or e2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 10.21 standby immediate (94h or e0h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 10.22 translate sector (87h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 10.23 wear level (f5h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 10.24 write buffer (e8h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 10.25 write dma (cah) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 10.26 write multiple command (c5h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 10.27 write multiple without erase (cdh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 10.28 write sector(s) (30h or 31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 10.29 write sector(s) without erase (38h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 10.30 write verify (3ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 11 cis information (typical) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 12 package mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 13 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 14 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
list of tables SMCXXXBF 8/91 list of tables table 1. product list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 table 2. system performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 table 3. current consumption . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 table 4. environmental specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 table 5. physical dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 table 6. cf capacity specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 table 7. system reliability and maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3 table 8. pin assignment and pin type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 table 9. signal description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 10. absolute maximum conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 table 11. input power. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 table 12. input leakage current . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 table 13. input characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 14. output drive type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 15. output drive characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 16. attribute memory read timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 17. configuration register (attribute memory) write timing . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 table 18. common memory read timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 6 table 19. common memory write timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 20. i/o read timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 table 21. i/o write timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 22. true ide pio mode read/write timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 23. true ide multi-word dma mode read/write timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 24. compactflash memory card registers and memory space decoding . . . . . . . . . . . . . . . 33 table 25. compactflash memory card configuration registers decoding . . . . . . . . . . . . . . . . . . . . 34 table 26. configuration option register (default value: 00h). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 27. compactflash memory card configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 28. card configuration and status register (default value: 00h) . . . . . . . . . . . . . . . . . . . . . . . 36 table 29. pin replacement register (default value: 0ch) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 30. pin replacement changed bit/mask bit values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 31. socket and copy register (default value: 00h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 32. attribute memory function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 33. i/o function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 34. common memory function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 35. true ide mode i/o function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 36. i/o configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 table 37. memory mapped decoding. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 table 38. contiguous i/o decoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 39. primary and secondary i/o decoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 table 40. true ide mode i/o decoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 41. data register access (memory and i/o mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 42. data register access (true ide mode) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 43. error register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 44. drive/head register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 table 45. status & alternate status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 46. device control register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 47. card (drive) address register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 48. cf-ata command set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
SMCXXXBF list of tables 9/91 table 49. check power mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 table 50. execute drive diagnostic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 51. diagnostic codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 52. erase sector(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 53. identify drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 table 54. identify drive information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 table 55. idle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 table 56. idle immediate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 57. initialize drive parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 table 58. nop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 59. read buffer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 table 60. read dma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 table 61. read multiple . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 62. read sector(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 table 63. read verify sector(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 64. recalibrate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 table 65. request sense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 66. extended error codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 table 67. seek . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 table 68. set features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 69. features supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 70. transfer mode values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 table 71. set multiple mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 table 72. set sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 73. standby. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 table 74. standby immediate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 75. translate sector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 76. translate sector information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 table 77. wear level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 78. write buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 table 79. write dma . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 80. write multiple . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 table 81. write multiple without erase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 82. write sector(s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 83. write sector(s) without erase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 table 84. write verify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 table 85. ordering information scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 table 86. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
list of figures SMCXXXBF 10/91 list of figures figure 1. compactflash memory card block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 2. attribute memory read waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 3. configuration register (attribute memory) write waveforms . . . . . . . . . . . . . . . . . . . . . . . 25 figure 4. common memory read waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 5. common memory write waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 figure 6. i/o read waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 figure 7. i/o write waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 8. true ide pio mode read/write waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 figure 9. true ide multi-word dma mode read/write waveforms. . . . . . . . . . . . . . . . . . . . . . . . . . 32 figure 10. type i compactflash memory card dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
SMCXXXBF summary description 11/91 1 summary description the compactflash is a small form factor no n-volatile memory card which provides high capacity data storage. its aim is to capture, retain and transport data, audio and images, facilitating the transfer of all types of digital information betw een a large variety of digital systems. the card operates in three basic modes: pcmcia i/o mode pcmcia memory mode true ide mode the compactflash also supports advanced timing modes. advanced timing modes are pcmcia style i/o modes that are 100ns or faster, pcmcia memory modes that are 100ns or faster, true ide pio modes 5,6 and multi-word dma modes 3,4. it conforms to the pc card specification when operating in the pcmcia i/o mode, and in the pcmcia memory mode (personal computer memory card international association standard, jeida in japan), and to the ata specification when operating in true ide mode. compactflash cards can be used with passive adapters in a pc-card type ii or type iii socket. the card has an internal intelligent contro ller which manages interface protocols, data storage and retrieval as well as hardware rs-code error correction code (ecc), defect handling, diagnostics and clock control. once the card has been configured by the host, it behaves as a standard ata (ide) disk drive. the hardware rs-code ecc allows to detect and correct 4 bytes per 528 bytes. the card has a super cap on v cc and a powerful power-loss management feature to prevent data corruption after power-down. the specification has been realized and approved by the compactflash association (cfa). this non-proprietary specification enables us ers to develop cf products that function correctly and are compatible with future cf design. the system highlights are shown in ta b l e 2 , ta b l e 3 , ta bl e 4 , ta b l e 5 , ta bl e 6 and ta bl e 7 . related documentation pcmcia pc card standard, 1995 pcmcia pc card ata specification, 1995 at attachment interface document, american national standards institute, x3.221- 1994 cf+ and compactflash spec ification revision 3.0
summary description SMCXXXBF 12/91 table 2. system performance system performance max. unit sleep to write 0.07 ms sleep to read 0.26 ms power up to ready 150 ms data transfer rate (burst) 23.8 (162x) (1) 1. 162x, 130x and 85x, speed grade markings where 1x = 150 kbytes/s. all values are measured for an ambient temperature of 25c. they refer to the 1gby te compactflash card in pio mode 6, cycle time 80ns, file size = 20 mb sequential; sector count = 256. mb/s sustained read 19 (130x) (1) mb/s sustained write 12.5(85x) (1) mb/s command to drq read 180 s write 85 table 3. current consumption (1) 1. all values are typical at 25 c and nominal supply voltage and refer to 1gbyte compactflash card, operating in pio mode. current consumption (typ) 3.3v 5v unit read 29 50 ma write 65 76 ma standby 0.9 1.8 ma sleep mode 0.9 1.8 ma table 4. environmental specifications environmental specification s operating non-operating temperature ?40 to 85c ?50 to 100c humidity (non-condensing) n/a 85% rh, at 85c salt water spray n/a 3% nacl at 35c (1) 1. mil std method 1009 vibration (peak -to-peak) n/a 30gmax. shock n/a 3,000gmax. table 5. physical dimensions physical dimensions unit width 42.8 mm height 36.4 mm thickness 3.3 mm weight (typ.) 10 g
SMCXXXBF capacity specification 13/91 2 capacity specification this section ta bl e 6 shows the specific capacity for th e various cf models and the default number of heads, sector/tracks and cylinders. table 6. cf capacity specification part number capacity default_cylin ders default_heads default_sectors _track sectors_card total addressable capacity (byte) smc032bf 32mb 490 4 32 62,720 32,112,640 smc064bf 64mb 490 8 32 125,440 64,225,280 smc128bf 128mb 980 8 32 250,880 128,450,560 smc256bf 256mb 980 16 32 501,760 256,901,120 smc512bf 512mb 993 16 63 1,000,944 512,483,328 smc01gbf 1gb 1,986 16 63 2,001,888 1,024,966,656 smc02gbf 2gb 3,970 16 63 4,001,760 2,048,901,120 smc04gbf 4gb 7,964 16 63 8,027,712 4,110,188,544 table 7. system reliability and maintenance mtbf (at 25c) > 3,000,000 hours insertions/removals > 10,000 preventive maintenance none data reliability < 1 non-recoverable error per 10 14 bits read endurance 0 +70 c > 2000000 erase/program cycles (1) -40 +85 c > 600000 erase/program cycles (1) 1. dependent on final system qualification data.
card physical SMCXXXBF 14/91 3 card physical 3.1 physical description the compactflash memory card contains a single chip controller and flash memory module(s). the controller interfaces with a host system allowing data to be written to and read from the flash memory module(s). figure 1 shows the block diagram of the compactflash memory card. the card is offered in a type i package with a 50-pin connector consisting of two rows of 25 female contacts on 50 mil (1.27mm) centers. figure 10 shows type i card dimensions. figure 1. compactflash me mory card block diagram controller flash module(s) compactflash storage card control data in/out host interface ai04300
SMCXXXBF electrical interface 15/91 4 electrical interface 4.1 electrical description the compactflash memory card operates in three basic modes: pc card ata using i/o mode pc card ata using memory mode true ide mode, which is comp atible with most disk drives the signal/pin assignments are listed in ta bl e 8 low active signals have a ? ? ? prefix. pin types are input, output or input/output. the configuration of the card is controlled using the standard pcmcia configuration registers starting at address 200h in the attribute memory space of the memory card. ta bl e 9 describes the i/o signals. inputs are signals sourced from the host while outputs are signals sourced from the card. the signals are described for each of the three operating modes. all outputs from the card are totem pole except the data bus signals that are bi-directional tri-state. refer to the section titled ?electrical specifications? for definitions of input and output type. table 8. pin assignment and pin type pin num pc card memory mode pc card i/o mode true ide mode signal name pin type in, out type signal name pin type in, out type signal name pin type in, out type 1 gnd ground gnd ground gnd ground 2 d03 i/o i1z,oz3 d03 i/o i1z,oz3 d03 i/o i1z,oz3 3 d04 i/o i1z,oz3 d04 i/o i1z,oz3 d04 i/o i1z,oz3 4 d05 i/o i1z,oz3 d05 i/o i1z,oz3 d05 i/o i1z,oz3 5 d06 i/o i1z,oz3 d06 i/o i1z,oz3 d06 i/o i1z,oz3 6 d07 i/o i1z,oz3 d07 i/o i1z,oz3 d07 i/o i1z,oz3 7 ? ce1 i i3u ? ce1 i i3u ? cs0 i i3z 8 a10 i i1z a10 i i1z a10 (2) ii1z 9 (1) ? oe i i3u ? oe i i3u ? atasel i i3u 10 a09 i i1z a09 i i1z a09 (2) ii1z 11 a08 i i1z a08 i i1z a08 (2) ii1z 12 a07 i i1z a07 i i1z a07 (2) ii1z 13 v cc power v cc power v cc power 14 a06 i i1z a06 i i1z a06 (2) ii1z 15 a05 i i1z a05 i i1z a05 (2) ii1z 16 a04 i i1z a04 i i1z a04 (2) ii1z
electrical interface SMCXXXBF 16/91 17 a03 i i1z a03 i i1z a03 (2) ii1z 18 a02 i i1z a02 i i1z a02 i i1z 19 a01 i i1z a01 i i1z a01 i i1z 20 a00 i i1z a00 i i1z a00 i i1z 21 d00 i/o i1z,oz3 d00 i/o i1z,oz3 d00 i/o i1z,oz3 22 d01 i/o i1z,oz3 d01 i/o i1z,oz3 d01 i/o i1z,oz3 23 d02 i/o i1z,oz3 d02 i/o i1z,oz3 d02 i/o i1z,oz3 24 wp o ot3 ? iois16 o ot3 ? iois16 o on3 25 ? cd2 o ground ? cd2 o ground ? cd2 o ground 26 ? cd1 o ground ? cd1 o ground ? cd1 o ground 27 d11 (3) i/o i1z,oz3 d11 (3) i/o i1z,oz3 d11 (3) i/o i1z,oz3 28 d12 (3) i/o i1z,oz3 d12 (3) i/o i1z,oz3 d12 (3) i/o i1z,oz3 29 d13 (3) i/o i1z,oz3 d13 (3) i/o i1z,oz3 d13 (3) i/o i1z,oz3 30 d14 (3) i/o i1z,oz3 d14 (3) i/o i1z,oz3 d14 (3) i/o i1z,oz3 31 d15 (3) i/o i1z,oz3 d15 (3) i/o i1z,oz3 d15 (3) i/o i1z,oz3 32 ? ce2 (3) ii3u ? ce2 (3) ii3u ? cs1 (3) ii3z 33 ? vs1 o ground ? vs1 o ground ? vs1 o ground 34 ? iord i i3u ? iord i i3u ? iord i i3z 35 ? iowr i i3u ? iowr i i3u ? iowr i i3z 36 ? we i i3u ? we i i3u ? we (4) ii3u 37 ready o ot1 -ireq o ot1 intrq o oz1 38 v cc power v cc power v cc power 39 ? csel (5)(3) ii2z ? csel (5) ii2z ? csel (5) ii2u 40 ? vs2 o open ? vs2 o open ? vs2 o open 41 reset i i2z reset i i2z -reset i i2z 42 ? wait o ot1 ? wait o ot1 iordy o on1 43 ? inpack o ot1 ? inpack o ot1 dmarq o oz1 44 ? reg i i3u ? reg i i3u -dmack (6) ii3u 45 bvd2 i/o i1u,ot1 ? spkr i/o i1u,ot1 ? dasp i/o i1u,on1 46 bvd1 i/o i1u,ot1 ? stschg i/o i1u,ot1 ? pdiag i/o i1u,on1 47 d08 (3) i/o i1z,oz3 d08 (3) i/o i1z,oz3 d08 (3) i/o i1z,oz3 48 d09 (3) i/o i1z,oz3 d09 (3) i/o i1z,oz3 d09 (3) i/o i1z,oz3 table 8. pin assignment and pin type (continued) pin num pc card memory mode pc card i/o mode true ide mode signal name pin type in, out type signal name pin type in, out type signal name pin type in, out type
SMCXXXBF electrical interface 17/91 49 d10 (3) i/o i1z,oz3 d10 (3) i/o i1z,oz3 d10 (3) i/o i1z,oz3 50 gnd ground gnd ground gnd ground 1. for true ide mode, pin 9 is grounded. 2. the signal should be grounded by the host. 3. these signals are required only for 16 bit accesses and not required when installed in 8 bit systems. devices should allow for 3-state signals not to consume current. 4. the signal should be tied to v cc by the host. 5. the -csel signal is ignored by the card in pc card modes . however, because it is not pulled up on the card in these modes it should not be left floating by the host in pc card modes. in these modes, the pin is normally connected by the host to pc card a25 or grounded by the host. 6. when the device does not operate in dma mode, the signal should be held high or tied to v cc by the host. to ensure proper operation with older hosts when dma mo de is disabled, the card should ignore the ? dmack signal. table 8. pin assignment and pin type (continued) pin num pc card memory mode pc card i/o mode true ide mode signal name pin type in, out type signal name pin type in, out type signal name pin type in, out type table 9. signal description signal name dir. pin description a10 to a0 (pc card memory mode) i 8,10,11,12, 14,15,16,17, 18,19,20 used (with ?reg) to select: the i/o port address registers, the memory mapped port address registers, a byte in the card information structure and its configuration control and status registers. a10 to a0 (pc card i/o mode) same as pc card memory mode a2 to a0 (true ide mode) only a2 to a0 are used to select the one of eight registers in the task file, the remaining lines should be grounded. bvd1 (pc card memory mode) i/o 46 the battery voltage status of the card, as no battery is required it is asserted high. ? stschg (pc card i/o mode) alerts the host to changes in the ready and write protect states. its use is controlled by the card configuration and status register. ? pdiag (true ide mode) the pass diagnostic signal in the master/slave handshake protocol. bvd2 (pc card memory mode) i/o 45 the battery voltage status of the card, as no battery is required it is asserted high. ? spkr (pc card i/o mode) the binary audio output from t he card. it is asserted high as audio functions are not supported. ? dasp (true ide mode) this input/output is the disk active/slave present signal in the master/slave handshake protocol.
electrical interface SMCXXXBF 18/91 d15-d00 (pc card memory mode) i/o 31,30,29,28, 27,49,48,47, 6,5,4,3,2, 23,22,21 carry the data, commands and status information between the host and the controller. d00 is the lsb of the even byte of the word. d08 is the lsb of the odd byte of the word. d15-d00 (pc card i/o mode) same as pc card memory mode. d15-d00 (true ide mode) all task file operations occur in byte mode on d00 to d07 while all data transfers are 16 bit using d00 to d15. gnd (pc card memory mode) 1,50 ground. gnd (pc card i/o mode) same for all modes. gnd (true ide mode) same for all modes. ? inpack (pc card memory mode) o43 not used, should not be connected to the host. ? inpack (pc card i/o mode) the input acknowledge is asserted when the card is selected and responding to an i/o read cycle at the current address on the bus. it is used by the host to control the enable of any input data buffers between the card and cpu. dmarq (true ide mode) the dmarq input signal is used to request a dma data transfer between the host and the card. it is asserted to notify that the card is ready to transfer data to or from the host. for multi-word dma transfers, the direction of data transfer is controlled by -iord and -iowr. dmarq is used in conjunction with ?dmack to perform handshaking: the card waits until ?dmack has been asserted by the host to de-assert dmarq, and re-assert it again if there is still data to be transferred (see section 10.10 ). dmarq is not driven when the card is not selected. if the host does not support dma mode, dmarq should be left unconnected. ? iord (pc card memory mode) i34 not used. ? iord (pc card i/o mode) i/o read strobe generated by the host. it gates i/o data onto the bus. ? iord (true ide mode) same as pc card i/o mode. table 9. signal description (continued) signal name dir. pin description
SMCXXXBF electrical interface 19/91 ? cd1, ? cd2 (pc card memory mode) o 26,25 these are connected to ground on the card. they are used by the host to determine that the card is fully inserted into its socket. ? cd1, ? cd2 (pc card i/o mode) same for all modes. ? cd1, ? cd2 (true ide mode) same for all modes. ? ce1, ? ce2 (pc card memory mode) i7,32 used to select the card and to indicate whether a byte or a word operation is being performed. ? ce2 accesses the odd byte, ? ce1 accesses the even byte or the odd byte depending on a0 and ? ce2. a multiplexing scheme based on a0, ? ce1, ? ce2 allows 8 bit hosts to access all data on d0 to d7. ? ce1, ? ce2 (pc card i/o mode) same as pc card memory mode. ? cs0, ? cs1 (true ide mode) ? cs0 is the chip select for th e task file registers, while ? cs1 selects the alternate status register and the device control register. when ?dmack is asserted, -cs0 and ?cs1 must be de- asserted and data width is 16 bits. ? csel (pc card memory mode) not used. ? csel (pc card i/o mode) i 39 not used. ? csel (true ide mode) this internally pulled up signal is used to configure the card as a master or slave. when grounded it is configured as a master, when open it is configured as a slave. ? iowr (pc card memory mode) i35 not used. ? iowr (pc card i/o mode) the i/o write strobe pulse is used to clock i/o data on the bus into the card controller registers. clocking occurs on the rising edge. ? iowr (true ide mode) same as pc card i/o mode. ? oe (pc card memory mode) i9 this is an output enable strobe generated by the host interface. it reads data and the cis and configuration registers. ? oe (pc card i/o mode) reads the cis and configuration registers. ? atasel (true ide mode) this input signal must be driven low to enable true ide mode. table 9. signal description (continued) signal name dir. pin description
electrical interface SMCXXXBF 20/91 ready (pc card memory mode) o37 indicates whether the card is busy (low), or ready to accept a new data transfer operation (high). the host socket must provide a pull-up resistor. at power up and reset, the ready signal is held low until the commands are completed. no access should be made during this time. the ready signal is held high whenever the card has been powered up with reset continuously disconnected or asserted. ? ireq (pc card i/o mode) interrupt request. it is strobed low to generate a pulse mode interrupt or held low for a level mode interrupt. intrq (true ide mode) active high interrupt request to the host. ? reg (pc card memory mode) i44 used to distinguish between common memory and register (attribute) memory accesses. high for common memory, low for attribute memory. ? reg (pc card i/o mode) must be low during i/o cycles when the i/o address is on the bus. ? dmack (true ide mode) the ?dmack input signal is used to acknowledge dma transfers. it is asserted by the host in response to dmarq to initiate the transfer. when dma mode is disabled, the card should ignore the -dmack signal. if the host does not support dma mode, but only true ide mode, this signal should be driven high or tied to v cc by the host. reset (pc card memory mode) i41 resets the card (active high). the card is reset at power up only if this pin is left high or unconnected. reset (pc card i/o mode) same as pc card memory mode. ? reset (true ide mode) hardware reset from the host (active low). v cc (pc card memory mode) 13,38 +5v, +3.3v power. v cc (pc card i/o mode) same for all modes. v cc (true ide mode) same for all modes. table 9. signal description (continued) signal name dir. pin description
SMCXXXBF electrical interface 21/91 ? vs1, ? vs2 (pc card memory mode) o 33,40 voltage sense signals.?vs1 is grounded so that the cis can be read at 3.3 volts and ?vs2 is reserved by pcmcia for a secondary voltage. ? vs1, ? vs2 (pc card i/o mode) same for all modes. ? vs1, ? vs2 (true ide mode) same for all modes. ? wait (pc card memory mode) o 42 st cf does not assert the wait (iordy) signal ? wait (pc card i/o mode) iordy (true ide mode) ? we (pc card memory mode) i36 driven by the host to strobe memory write data to the registers. ? we (pc card i/o mode) used for writing to the configuration registers. ? we (true ide mode) not used, should be connected to v cc by the host. wp (pc card memory mode) o24 no write protect switch availa ble. it is held low after the completion of the reset initialization sequence. ? iois16 (pc card i/o mode) used for the 16 bit port ( ? iois16) function. low indicates that a 16 bit or odd byte only operation can be performed at the addressed port. ? iocs16 (true ide mode) asserted low when the card is expecting a word data transfer cycle. table 9. signal description (continued) signal name dir. pin description
electrical interface SMCXXXBF 22/91 4.2 electrical specification ta bl e 1 0 defines the dc characteristics for the compactflash memory card. unless otherwise stated, conditions are: v cc = 5v 10% v cc = 3.3v 5% -40 c to 85 c ta bl e 1 1 shows that the card operates correctly in both the voltage ranges and that the current requirements must not exceed the maximum limit shown. 4.3 current measurement the current is measured by connecting an amp meter in series with the v cc supply. the meter should be set to the 2a scale range, and have a fast current probe with an rc filter with a time constant of 0.1ms. current measurements are taken while looping on a data transfer command with a sector count of 128. current consumption values for both read and write commands are not to exceed the maximum average rms current specified in ta bl e 1 1 ta b l e 1 2 shows the input leakage current, ta b l e 1 1 the input characteristics, ta bl e 1 3 the output drive type and ta bl e 1 5 the output drive characteristics. table 10. absolute maximum conditions parameter symbol conditions input power v cc ? 0.3v to 6.5v voltage on any pin except v cc with respect to gnd v ? 0.5v to v cc + 0.5v table 11. input power voltage maximum average rms current measurement conditions 3.3v 5% 85 ? 40 +85 c 5v 10% 100 ? 40 +85c table 12. input leakage current (1) 1. x refers to the char acteristics described in table 13 for example, i1u indicates a pull up resistor with a type 1 input characteristic. type parameter symbol conditions min. typ. max. units ixz input leakage current il v ih = v cc ? 11a v il = gnd ixu pull up resistor rpu1 v cc = 5.0v 50 500 k ? ixd pull down resistor rpd1 v cc = 5.0v 50 500 k ?
SMCXXXBF electrical interface 23/91 4.4 additional requirements for compactflash advanced timing mode when operating in a compactflash advanced timing mode, the following conditions must be respected: only one compactflash card must be connected to the compactflash bus. the load capacitance (cable included) for all signals must be lower than 40pf. the cable length must be lower than 0.15m (6inches). the cable length is measured from the card connector to the host controller. 0.46m (18inches) cables are not supported. table 13. input characteristics type parameter symbol min. typ. max. min. typ. max. units v cc = 3.3v v cc = 5.0v 1 input voltage cmos v ih 2.4 3.3 v v il 0.6 0.8 2 input voltage cmos v ih 1.5 2.0 v v il 0.6 0.8 3 input voltage cmos schmitt trigger v th 1.8 2.8 v v tl 1.0 2.0 table 14. output drive type (1) 1. x refers to the char acteristics described in table 15 for example, ot3 refers to totem pole output with a type 3 output drive characteristic. type output type valid conditions otx totempole i oh & i ol ozx tri-state n-p channel i oh & i ol opx p-channel only i oh only onx n-channel only i ol only table 15. output drive characteristics type parameter symbol conditions min. typ. max. units 1 output voltage v oh i oh = -4ma v cc ? 0.8v v v ol i ol = 4ma gnd + 0.4v 2 output voltage v oh i oh = -4ma v cc ? 0.8v v v ol i ol = 4ma gnd + 0.4v 3 output voltage v oh i oh = -4ma v cc ? 0.8v v v ol i ol = 4ma gnd + 0.4v x tr i - s t a t e leakage current i oz v ol = gnd ? 10 10 a v oh = v cc
command interface SMCXXXBF 24/91 5 command interface there are two types of bus cycles and timing sequences that occur in the pcmcia type interface, direct mapped i/o transfer and memory access. two types of bus cycles are also available in true ide interface type: pio transfer and multi-word dma transfer. ta bl e 1 6 , ta bl e 1 7 , ta b l e 1 8 , ta bl e 1 9 , ta b l e 2 0 , ta bl e 2 1 and ta bl e 2 2 show the read and write timing parameters. figure 2 , figure 3 , figure 4 , figure 5 , figure 6 , figure and figure 8 show the read and write timing diagrams. in order to set the card mode , the -oe (-atasel) signal must be set and kept stable before applying v cc until the reset phase is completed. to place the card in memory mode or i/o mode, -oe(-atasel) must be driven high, while it must be driv en low to place the card in true ide mode. 5.1 attribute memory read and write figure 2. attribute memory read waveforms 1. d out signifies data provided by the compac tflash memory card to the system. t he -ce signal or both the -oe signal and the -we signal must be de-asserted be tween consecutive cycle operations. ai10080 tc(r) ta(a) tv(a) ta(ce) ten(oe) valid address inputs d0 to d15 (d out ) valid ?reg ?ce2/?ce1 ?oe tsu(a) ten(ce) tdis(oe) tdis(ce) ta(oe) table 16. attribute memory read timing speed version 300ns symbol ieee symbol parameter min max unit tc(r) t avav read cycle time 300 ns ta(a) t avqv address access time 300 ns ta(ce) t elqv ce access time 300 ns
SMCXXXBF command interface 25/91 figure 3. configuration register (attribute memory) write waveforms 1. d in signifies data provided by the sy stem to the compactflash card. ta(oe) t glqv oe access time 150 ns tdis(ce) t ehqz output disable time from ce 100 ns tdis(oe) t ghqz output disable time from oe 100 ns ten(ce) t elqnz output enable time from ce 5 ns ten(oe) t glqnz output enable time from oe 5 ns tv(a) t axqx data valid from address change 0 ns tsu(a) t avgl address setup time 30 ns table 16. attribute memory read timing (continued) speed version 300ns symbol ieee symbol parameter min max unit ai10081 address inputs ?reg ?ce2/?ce1 ?oe ?we d0 to d15 (d in ) tc(w) data in valid valid tsu(a) trec(we) tw(we) tsu(d-weh) th(d) table 17. configuration register (attribute memory) write timing speed version 250ns symbol ieee symbol parameter min max unit tc(w) t avav write cycle time 250 ns tw(we) t wlwh write pulse width 150 ns tsu(a) t avwl address setup time 30 ns tsu(d-weh) t dvwh data setup time from we 80 ns th(d) t wmdx data hold time 30 ns trec(we) t wmax write recovery time 30 ns
command interface SMCXXXBF 26/91 5.2 common memory read and write figure 4. common memory read waveforms 1. d out means data provided by the compactflash memory card to the system. ai10083b valid address inputs d0 to d15 (d out ) valid ?reg ?ce2/?ce1 ?oe tsu(a) tsu(ce) th(a) th(ce) tdis(oe) tv(wt) ta(oe) table 18. common memory read timing (1) cycle time mode 250ns 120ns 100ns 80ns unit symbol ieee symbol parameter min max min max min max min max ta(oe) t glqv output enable access time 125 60 50 45 ns tdis(oe) tghqz output disable time from oe 100 60 50 45 ns tsu(a) t avgl address setup time 30 15 10 10 ns th(a) t ghax address hold time 20 15 15 10 ns tsu(ce) t elgl ce setup time 0000ns th(ce) t gheh ce hold time 20 15 15 10 ns 1. st cf does not assert the wait signal.
SMCXXXBF command interface 27/91 figure 5. common memory write waveforms 1. d in signifies data provided by the system to the compactflash memory card. ai10082b tsu(d-weh) data in valid address inputs d0 to d15 (d in ) valid ?reg ?ce2/?ce1 ?we tsu(ce) trec(we) th(ce) th(d) tsu(a) tw(we) th(a) table 19. common memory write timing (1) cycle time mode 250ns 120ns 100ns 80ns unit symbol ieee symbol parameter min max min max min max min max tsu(d-weh) t dvwh data setup time from we 80 50 40 30 ns th(d) t wmdx data hold time 30 15 10 10 ns tw(we) t wlwh we pulse width 150 70 60 55 ns tsu(a) t avgl address setup time 30 15 10 10 ns tsu(ce) t elwl ce setup time before we 0 0 0 0 ns trec(we) t wmax write recovery time 30 15 15 15 ns th(a) t ghax address hold time 20 15 15 10 ns th(ce) t gheh ce hold following we 20 15 15 10 ns 1. st cf does not assert the wait signal.
command interface SMCXXXBF 28/91 5.3 i/o read and write figure 6. i/o read waveforms 1. d out signifies data provided by the compactflash memory card or to the system. ai10084b address inputs d0 to d15 valid ?reg ?ce2/?ce1 ?iord tsuce(iord) ?inpack tsua(iord) valid ?iois16 tsureg(iord) tha(iord) threg(iord) tdfinpack(iord) thce(iord) tdrinpack(iord) td(iord) tdriois16(adr) tdfiois16(adr) th(iord) tw(iord) table 20. i/o read timing (1) cycle time mode 250ns 120ns 100ns 80ns unit symbol ieee symbol parameter min max min max min max min max td(iord) t iglqv data delay after iord 100 50 50 45 ns th(iord) t ighqx data hold iord 0555ns tw(iord) t igligh iord width time 165 70 65 55 ns tsua(iord) t avigl address setup before iord 70 25 25 15 ns tha(iord) t ighax address hold following iord 20 10 10 10 ns tsuce(iord) t eligl ce setup before iord 5555ns thce(iord) t igheh ce hold following iord 20 10 10 10 ns tsureg(iord) t rgligl reg setup before iord5555ns threg(iord) t ighrgh reg hold following iord0000ns tdfinpack(iord) t iglial inpack delay falling from iord 0450 na (2) 0 na (2) 0 na (2) ns tdrinpack(iord) t ighiah inpack delay rising from iord 45 na (2) na (2) na (2) ns
SMCXXXBF command interface 29/91 figure 7. i/o write waveforms 1. d in signifies data provided by the system to the compactflash memory card. 2. -iois16 and -inpack are not supported in this mode. 3. tdfiois16(a) t avisl iois16 delay falling from address 35 ns ns tdriois16(a) t avish iois16 delay rising from address 35 ns ns 1. st cf does not assert the wait signal. 2. -iois16 is not supported in this mode. table 21. i/o write timing (1) cycle time mode 250ns 120ns 100ns 80ns unit symbol ieee symbol parameter min max min max min max min max tsu(iowr) t qviwh data setup before iowr 60 20 20 15 ns th(iowr) t iwhqx data hold following iowr 30 10 5 5 ns tw(iowr) t iwliwh iowr width time 165 70 65 55 ns tsua(iowr) t aviwl address setup before iowr 70 25 25 15 ns tha(iowr) t iwhax address hold following iowr 20 20 10 10 ns tsuce(iowr) t eliwl ce setup before iowr 5 5 5 5 ns table 20. i/o read timing (1) (continued) cycle time mode 250ns 120ns 100ns 80ns unit symbol ieee symbol parameter min max min max min max min max ai10085b address inputs d0 to d15 (d in ) valid ?reg ?ce2/?ce1 ?iowr tsuce(iowr) tsua(iowr) d in valid ?iois16 tsureg(iowr) tha(iowr) threg(iowr) thce(iowr) tsu(iowr) tdriois16(adr) tdfiois16(adr) th(iowr) tw(iowr)
command interface SMCXXXBF 30/91 5.4 true ide mode the timing waveforms for true ide mode and true ide dma mode of operation in this section are drawn using the conventions in the ata-4 specification, which are different than the conventions used in the pcmcia specificatio n and earlier versions of this specification. signals are shown with their asserted state as high regardless of whether the signal is actually negative or positive true. consequently, the -iord, the -iowr and the -iocs16 signals are shown in the waveforms inverted from their electrical states on the bus. figure 8. true ide pio mode read/write waveforms 1. the device addresses consists of ? cs0, ? cs1, and a2-a0. 2. the data i/o consist of d15-d0 (16-bit) or d7-d0 (8 bit). 3. ? iocs16 is shown for pio modes 0, 1 and 2. for other modes, this signal is ignored. thce(iowr) t iwheh ce hold following iowr 20 20 10 10 ns tsureg(iowr) t rgliwl reg setup before iowr 5 5 5 5 ns threg(iowr) t iwhrgh reg hold following iowr 0 0 0 0 ns tdfiois16(a) t avisl iois16 delay falling from address 35 na (2) na (2) na (2) tdriois16(a) t avish iois16 delay rising from address 35 na (2) na (2) na (2) 1. st cf does not assert the wait signal. 2. -iois16 is not supported in this mode. table 21. i/o write timing (1) (continued) cycle time mode 250ns 120ns 100ns 80ns unit symbol ieee symbol parameter min max min max min max min max a0-a2, ? cs0, ? cs1 (1) address valid ? iord/ ? iowr write data d0-d15 (2) read data d0-d15 (2) ? iocs16 (3) ai10086b t0 t1 t2 t9 t8 t2i t3 t4 t7 t5 t6 t6z valid valid
SMCXXXBF command interface 31/91 table 22. true ide pio mode read/write timing (1) symbol parameter mode 0 mode 1 mode 2 mode 3 mode 4 mode 5 mode 6 unit t 0 (2) cycle time (min) 600 383 240 180 120 100 80 ns t 1 address valid to -iord/-iowr setup (min) 70 50 30 30 25 15 10 ns t 2 (2) -iord/-iowr (min) 165 125 100 80 70 65 55 ns t 2 (2) -iord/-iowr (min) register (8 bit) 290 290 290 80 70 65 55 ns t 2i (2) -iord/-iowr recovery time (min) - - - 70252520ns t 3 -iowr data setup (min) 60 45 30 30 20 20 15 ns t 4 -iowr data hold (min) 30 20 15 10 10 5 5 ns t 5 -iord data setup (min) 50 35 20 20 20 15 10 ns t 6 -iord data hold (min) 5 5 5 5 5 5 5 ns t 6z (3) -iord data tri-state (max) 30 30 30 30 30 20 20 ns t 7 (4) address valid to -iocs16 assertion (max) 90 50 40 na na na na ns t 8 (4) address valid to -iocs16 released (max) 60 45 30 na na na na ns t 9 -iord/-iowr to address valid hold 20 15 10 10 10 10 10 ns 1. the maximum load on -iocs16 is 1 lsttl with a 50pf total load. 2. t 0 is the minimum total cycle time, t 2 is the minimum command active time, and t 2i is the minimum command recovery time or command inactive time. the actual cycle time equals the sum of the act ual command active time and the actual command inactive time. the three timing requirements of t 0 , t 2 , and t 2i have to be met. the minimum total cycle time requirement is greater than the sum of t 2 and t 2i . this means a host implementati on can lengthen either or both t 2 or t 2i to ensure that t 0 is equal to or greater than the value reported in t he device's identify drive data . a compactflash memory card implementation should support any legal host implementation. 3. this parameter specifies the time from the falling edge of -i ord to the moment when the data bus is no longer driven by the compactflash memory card (tri-state). 4. t 7 and t 8 apply only to modes 0, 1 and 2. the -iocs16 signal is not valid for other modes.
command interface SMCXXXBF 32/91 figure 9. true ide multi-word dma mode read/write waveforms ? cs0, ? cs1 ? iord/ ? iowr read data d0-d15 write data d0-d15 ai13117 t0 te tm valid ???? ???? valid valid valid tn tlw, tlr ti td tkw tkr tj tf tz tg th table 23. true ide multi-word dma mode read/write timing symbol parameter mode 0 mode 1 mode 2 mode 3 mode 4 unit t 0 (1) cycle time (min) 480 150 120 100 80 ns t d (1) -iord / -iowr asserted width (min) 215 80 70 65 55 ns t e -iord data access (max) 150 60 50 50 45 ns t f -iord data hold (min) 5 5 5 5 5 ns t g -iord/-iowr data setup (min) 100 30 20 15 10 ns t h -iowr data hold (min) 20 15 10 5 5 ns t i dmack to ?iord/-iowr setup (min) 0 0 0 0 0 ns t j -iord / -iowr to -dmack hold (min) 20 5 5 5 5 ns t kr (1) -iord low width (min) 50 50 25 25 20 ns t kw (1) -iowr low width (min) 215 50 25 25 20 ns t lr -iord to dmarq delay (max) 120 40 35 35 35 ns t lw -iowr to dmarq delay (max) 40 40 35 35 35 ns t m cs(1:0) valid to ?iord / -iowr 50 30 25 10 5 ns t n cs(1:0) hold 1510101010ns t z -dmack 20 25 25 25 25 ns 1. t 0 is the minimum total cycle time. t d is the minimum command active time. t kr and t kw are the minimum command recovery time or command inactive time for input and output cycles, re spectively. the actual cycl e time is the sum of the actual command active time and the actual comm and inactive time. the timing requirements of t 0 , t d , t kr , and t kw must be respected. t 0 is higher than t d + t kr or t d + t kw , for input and output cycles respecti vely. this means the host can lengthen either t d or t kr /t kw , or both, to ensure that t0 is equal to or higher than the value reported in the device?s identify device data. a compactflash storage card implementati on shall support any legal host implementation.
SMCXXXBF card configuration 33/91 6 card configuration the compactflash memory card is identified by informatio n in the card information structure (cis). the card has four configuration registers ( ta bl e 2 4 and ta b l e 2 5 ). configuration option register pin replacement register card configuration and status register socket and copy register they are used to coordinate the i/o spaces and the interrupt level of cards that are located in the system. in addition, in i/o card mode these registers provide a method for accessing status information that would normally appear on dedicated pins in memory card mode. the base address of the card configuration regi sters is 200h in the attribute memory space. no write operation should be performed to the attribute memory area except for the configuration register addresses. all other attribute memory locations are reserved. see section 6.5: attribute memory function . table 24. compactflash memory card registers and memory space decoding ?ce2 ?ce1 ?reg ?oe ?we a10 a9 a8-a4 a3 a2 a1 a0 selected space 1 1 x x x x x xxx x x x x standby x 0 0 0 1 0 1 xxx x x x 0 configuration registers read 1 0 1 0 1 x x xxx x x x x common memory read (d7 to d0) 0 1 1 0 1 x x xxx x x x x common memory read (d15 to d8) 0 0 1 0 1 x x xxx x x x 0 common memory read (d15 to d0) x 0 0 1 0 0 1 xxx x x x 0 configuration registers write 1 0 1 1 0 x x xxx x x x x common memory write (d7 to d0) 0 1 1 1 0 x x xxx x x x x common memory write (d15 to d8) 0 0 1 1 0 x x xxx x x x 0 common memory write (d15 to d0) x 0 0 0 1 0 0 xxx x x x 0 card information structure read 1 0 0 1 0 0 0 xxx x x x 0 invalid access (cis write) 1 0 0 0 1 x x xxx x x x 1 invalid access (odd attribute read) 1 0 0 1 0 x x xxx x x x 1 invalid access (odd attribute write) 0 1 0 0 1 x x xxx x x x x invalid access (odd attribute read) 0 1 0 1 0 x x xxx x x x x invalid access (odd attribute write)
card configuration SMCXXXBF 34/91 6.1 configuration option regist er (200h in attribute memory) the configuration option register is used to configure the card?s interface, address decoding and interrupt to the card (see ta bl e 2 6 ). 6.1.1 sreset setting the sreset bit to ?1? and returning th e bit ?0? places the compactflash storage card in the reset state. settin g this bit to ?1? is equivalent to asserting the reset signal except that the sreset bit is not cleared. returning the sreset bi t to ?0? leaves the compactflash storage card in the same un-configured reset state as after a power-up and hardware reset. this bit is set to ?0? at power-up and taking the card through a hardware reset. 6.1.2 levlreq this bit is set to one (1) when level mode interrupt is selected, and zero (0) when pulse mode is selected. set to zero (0) after power up. 6.1.3 conf5 - conf0 (configuration index) these bits are used to select the operation mode of the card as shown in ta b l e 2 7 . this bit is set to ?0? after power up. table 25. compactflash memory card configuration registers decoding ?ce2 ?ce1 ?reg ?oe ?we a10 a9 a8- a4 a3 a2 a1 a0 selected register x 0 0 0 1 0 1 00 0 0 0 0 configuration option register read x 0 0 1 0 0 1 00 0 0 0 0 configuration option register write x 0 0 0 1 0 1 00 0 0 1 0 card status register read x 0 0 1 0 0 1 00 0 0 1 0 card status register write x 0 0 0 1 0 1 00 0 1 0 0 pin replacement register read x 0 0 1 0 0 1 00 0 1 0 0 pin replacement register write x 0 0 0 1 0 1 00 0 1 1 0 socket and copy register read x 0 0 1 0 0 1 00 0 1 1 0 socket and copy register write table 26. configuration option register (default value: 00h) operationd7 d6 d5d4d3d2d1 d0 r/w sreset levlreq conf5 c onf4 conf3 conf2 conf1 conf0
SMCXXXBF card configuration 35/91 6.2 card configuration and status register (202h in attribute memory) the card configuration and status register contains information about the card?s status (see ta b l e 2 8 ). 6.2.1 changed indicates that one or both of the pin replacement register (crdy, or cwprot) bits are set to ?1?. when the changed bit is set, ? stschg (pin 46) is held low and if the sigchg bit is ?1? the card is configured for the i/o interface. 6.2.2 sigchg this bit is set and reset by the host to enable and disable a state-change signal from the status register (issued on status changed pin 46). if no state change signal is desired, this bit should be set ?0? and pin 46 ( ? stschg) will be held high while the card is configured for i/o. 6.2.3 iois8 the host sets this bit to ?1? if the card is to be configured in 8 bit i/o mode. the card is always configured for both 8 and 16 bit i/o, so this bit is ignored. 6.2.4 pwrdwn this bit indicates whether the card is in the power saving mode or active mode. when the pwrdwn bit is set to ?1?, the card enters powe r down mode. when set to ?0?, the card enters active mode. the ready value on pin replacement register becomes busy when this bit is changed. ready will not become ready un til the power state requested has been entered. the card automatically powers down when it is idle and powers back up when it receives a command. 6.2.5 int this bit represents the internal state of the interrupt request. it is available whether or not the i/o interface has been configured. it remains valid until the condition which caused the interrupt request has been serviced. if interrupts are disabled by the ? ien bit in the device control register, this bit is ?0?. table 27. compactflash memory card configurations conf5 conf4 conf3 conf2 conf1 conf0 mapping mode card mode task file register address 0 0 0 0 0 0 memory memory 0h - fh, 400h - 7ffh 0 0 0 0 0 1 contiguous i/o i/o xx0h - xxfh 0 0 0 0 1 0 primary i/o i/o 1f0h - 1f7h, 3f6h - 3f7h 0 0 0 0 1 1 secondary i/o i/o 170h - 177h, 376h - 377h
card configuration SMCXXXBF 36/91 6.3 pin replacement register (204h in attribute memory) this register contains information on the state of the ready signal when configured in memory mode and the ireq signal in i/o mode. see ta bl e 2 9 and ta bl e 3 0 . 6.3.1 cready this bit is set to ?1? when the bit rready changes state. this bit can also be written by the host. 6.3.2 cwprot this bit is set to '1' when the bit rwprot changes state. this bit can also be written by the host. 6.3.3 rready this bit is used to determine the internal state of the ready signal. in i/o mode it is used as an interrupt request. when written, this bit acts as a mask (mready) for writing the corresponding bit cready. 6.3.4 wprot this bit is always ?0? since the compactflash memory card does not have a write protect switch. when written, this bit acts as a mask for writing the corresponding cwprot bit. 6.3.5 mready this bit acts as a mask for writing the corresponding cready bit. 6.3.6 mwprot this bit when written acts as a mask for writing the corresponding cwprot bit. table 28. card configuration and status register (default value: 00h) operation d7 d6 d5 d4 d3 d2 d1 d0 read changed sigchg iois8 0 0 pwrdwn int 0 write 0 sigchg iois8 0 0 pwrdwn 0 0 table 29. pin replacement register (default value: 0ch) operationd7d6d5d4d3d2d1d0 read 0 0 cready cwprot 1 1 rready wprot write 0 0 cready cwprot 0 0 rready mwprot
SMCXXXBF card configuration 37/91 6.4 socket and copy register (206h in attribute memory) this register contains additional configuration information which identifies the card from other cards. this register is always written by the system before writing the configuration option register (see ta b l e 3 1 ). 6.4.1 drive # this value can be used to address two different cards in the case of twin card configuration. 6.4.2 x the socket number is ignored by the card. table 30. pin replacement changed bit/mask bit values initial value of ?c? status written by host final ?c? bit comments ?c? bit ?m? bit 0 x 0 0 unchanged 1 x 0 1 unchanged x 0 1 0 cleared by host x111set by host table 31. socket and copy register (default value: 00h) operationd7 d6d5d4d3d2d1d0 read reserved 0 0 drive # 0 0 0 0 write 0 0 0 drive # x x x x
card configuration SMCXXXBF 38/91 6.5 attribute memory function attribute memory is a space where identification and configuration information are stored. only 8 bit wide accesses at even addresses can be performed in this area. the card configuration registers are also located in the attribute memory area, at base address 200h. attribute memory is not accessible in true ide mode of operation. for the attribute memory read function, signals ? reg and ? oe must be active and ? we inactive during the cycle. as in the main memory read functions, the signals ? ce1 and ? ce2 control the even and odd byte address, but only the even byte data is valid during the attribute memory access. refer to ta bl e 3 2 for signal states and bus validity. table 32. attribute memory function function mode ?reg ?ce2 (1) ?ce1 (1) a10 a9 a0 ?oe (1) ?we (1) d15 to d8 d7 to d0 standby x h hxxxxxhigh-zhigh-z read byte access cis (8 bits) l h lllllhhigh-zeven byte write byte access cis (8 bits) invalid l h l l l l h l don?t care even byte read byte access configuration (8 bits) l h l l h l l h high-z even byte write byte access configuration (8 bits) l h l l h l h l don?t care even byte read word access cis (16 bits) l l l l l x l h not valid even byte write word access cis (16 bits) invalid l l l l l x h l don?t care even byte read word access configuration (16 bits) l l l l h x l h not valid even byte write word access configuration (16 bits) l l l l h x h l don?t care even byte 1. the ? ce signal or both the ? oe signal and the ? we signal must be de-asserted betw een consecutive cycle operations.
SMCXXXBF card configuration 39/91 6.6 i/o transfer function the i/o transfer to or from the card can be either 8 or 16 bits. when a 16 bit accessible port is addressed, the ? iois16 signal is asserted by the card, otherwise it is de-asserted. when a 16 bit transfer is attempted, and the ? iois16 signal is not asserted, the system must generate a pair of 8 bit references to access the word?s even and odd bytes. the card permits both 8 and 16 bit accesses to all of its i/o addresses, so ? iois16 is asserted for all addresses (see ta b l e 3 3 ). . table 33. i/o function function code ?reg ?ce2 ?ce1 a0 ?iord ?iowr d15 to d8 d7 to d0 standby mode x h h x x x high z high z byte input access (8 bits) l l h h l l l h l l h h high z high z even byte odd byte byte output access (8 bits) l l h h l l l h h h l l don?t care don?t care even byte odd byte word input access (16 bits) l l l l l h odd byte even byte word output access (16 bits) l l l l h l odd byte even byte i/o read inhibit h x x x l h don?t care don?t care i/o write inhibit h x x x h l high z high z high byte input only (8 bits) l l h x l h odd byte high z high byte output only (8 bits) l l h x h l odd byte don?t care
card configuration SMCXXXBF 40/91 6.7 common memory transfer function the common memory transfer to or from the card permits both 8 or 16 bit access to all of the common memory addresses. (see ta bl e 3 4 ). 6.8 true ide mode i/o function the card can be configured in a true ide mode of operation. it is configured in this mode only when the ?oe signal is grounded by the host during the power off to power on cycle. in this true ide mode the pcmcia protocol and configuration are disabled and only i/o operations to the task file and data register are allowed. no memory or attribute registers are accessible to the host. the set feature command can be used to put the device in 8 bit mode (see ta b l e 3 5 ). removing and reinserting the card while the ho st computer?s power is on will reconfigure the card to pc card ata mode. table 34. common memory function function code ?reg ?ce2 ?ce1 a0 ?oe ?we d15 to d8 d7 to d0 standby mode x h h x x x high z high z byte read access (8 bits) h h h h l l l h l l h h high z high z even byte odd byte byte write access (8 bits) h h h h l l l h h h l l don?t care don?t care even byte odd byte word read access (16 bits) h l l x l h odd byte even byte word write access (16 bits) h l l x h l odd byte even byte odd byte read only (8 bits) hl hxl h odd bytehigh z odd byte write only (8 bits) h l h x h l odd byte don?t care table 35. true ide mode i/o function function code ? cs1 ? cs0 a2 to a0 -dmack ? iord ? iowr d15 to d8 d7 to d0 invalid mode ll x x x x undefined in/out undefined in/out l x x l l x undefined out undefined out l x x l x l undefined in undefined in x l x l l x undefined out undefined out x l x l x l undefined in undefined in standby mode h h x h x x high z high z task file write h l 1h-7h h h l don?t care data in
SMCXXXBF card configuration 41/91 task file read h l 1h-7h h l h high z data out pio data register write h l 0 h h l odd-byte in even-byte in dma data register write h l x l h l odd-byte in even-byte in pio data register read h l 0 h l h odd-byte out even-byte out dma data register read h h x l l h odd-byte out even-byte out control register write l h 6h h h l don?t care control in alternate status read l h 6h h l h high z status out drive address l h 7h h l h high z data out table 35. true ide mode i/o function (continued) function code ? cs1 ? cs0 a2 to a0 -dmack ? iord ? iowr d15 to d8 d7 to d0
host configuration requirements SMCXXXBF 42/91 7 host configuration requirements the compactflash advanced timing modes include pcmcia-style i/o modes that are faster than the original 250 ns cycle time (see section 1: summary description ). before configuring the card interface for the i/o mode, the host must ensure that all the cards connected to a given electrical interface support i/o transfers faster than 250ns. these modes must be used in the conditions described in section 4.4 . in particular, the host can be connected to one card only. consequently, the host must not configure a card to operate in an compactflash advanced timing mode if two cards are sharing the same i/o lines in master/slave operation, or if it is connected to the card through a cable which length exceeds 0.15m.
SMCXXXBF software interface 43/91 8 software interface 8.1 cf-ata drive register set definition and protocol the compactflash memory card can be configured as a high performance i/o device through: standard pc-at disk i/o address spaces ? 1f0h-1f7h, 3f6h-3f7h (primary); ? 170h-177h, 376h-377h (secondary) with irq 14 (or other available irq). any system decoded 16 byte i/o block using any available irq. memory space. communication to or from the card is done using the task file registers which provide all the necessary registers for control and status information. the pcmcia interface connects peripherals to the host using four-register mapping methods. ta b l e 3 6 is a detailed description of these methods: 8.2 memory mapped addressing when the card registers are accessed via memory references, the registers appear in the common memory space window: 0-2kbytes as shown in ta b l e 3 7 this window accesses the data register fifo. it does not allow random access to the data buffer within the card. register 0 is accessed with ?ce1 and ?ce2 low, as a word register on the combined odd and even data bus (d15 to d0). it can also be accessed with ?ce1 low and ?ce2 high, by a pair of byte accesses to offset 0. the address space of this word register overlaps the address space of the error and feature byte-wide registers at offset 1. when accessed twice as byte register with ?ce1 low, the first byte is the even byte of the word and the second is the odd byte. a byte access to address 0 with ?ce1 high and ?ce2 low accesses the error (read) or feature (write) register. registers at offset 8, 9 and d are non-overlapping duplicates of the registers at offset 0 and 1. register 8 is equivalent to register 0, while register 9 accesses the odd byte. therefore, if the registers are byte accessed in the order 9 then 8 the data will be transf erred odd byte then even byte. repeated byte accesses to register 8 or 0 will access consecutive (even then odd) bytes from the data buffer. repeated word accesses to register 8, 9 or 0 will access consecutive words from the data buffer, however repeated byte accesses to register 9 are not supported. repe ated alternating byte accesses to registers 8 then 9 will access consecutive (even then odd) bytes from the data buffer. table 36. i/o configurations standards configurations config index i/o or memory address description 0 memory 0h-fh, 400h-7ffh memory mapped 1 i/o xx0h-xxfh i/o mapped 16 continuous registers 2 i/o 1f0-1f7h, 3f6h-3f7h primary i/o mapped 3 i/o 170-177h, 376h-377h secondary i/o mapped
software interface SMCXXXBF 44/91 accesses to even addresses between 400h and 7ffh access register 8. accesses to odd addresses between 400h and 7ffh access register 9. this 1 kbyte memory window to the data register is provided so that hosts can perform memory-to-memory block moves to the data register when the register lies in me mory space. some hosts, such as the x86 processors, must increment both the source and destination addresses when executing the memory-to-memory block move instruction. some pcmcia socket adapters also have an embedded auto incrementing address logic. a word access to address at offset 8 will provid e even data on the least significant byte of the data bus, along with odd data at offset 9 on the most significant byte of the data bus. table 37. memory mapped decoding ? reg a10 a9 to a4 a3 a2 a1 a0 offset ? oe=0 ? we=0 1 0 x 0000 0h even data register even data register 1 0 x 0001 1h error register feature register 1 0 x 0010 2h sector count register sector count register 1 0 x 0011 3h sector number register sector number register 1 0 x 0100 4h cylinder low registercylinder low register 1 0 x 0101 5h cylinder high register cylinder high register 1 0 x 0110 6h select card/head register select card/head register 1 0 x 0111 7h status register command register 1 0 x 1000 8h dup. even data register dup. even data register 1 0 x 1001 9h dup. odd data register dup. odd data register 1 0 x 1101 dh dup. error register dup. feature register 1 0 x 1110 eh alternate status register device control register 1 0 x 1111 fh drive address register reserved 1 1 x x x x 0 8h even data register even data register 1 1 x x x x 1 9h odd data register odd data register
SMCXXXBF software interface 45/91 8.3 contiguous i/o mapped addressing when the system decodes a contiguous block of i/o registers to select the card, the registers are accessed in the block of i/o space decoded by the system as shown in ta bl e 3 8 as for the memory mapped addressing, register 0 is accessed with ?ce1 low and ?ce2 low (and a0 don?t care) as a word register on the combined odd and even data bus (d15 to d0). this register may also be accessed with ?ce1 low and ?ce2 high, by a pair of byte accesses to offset 0. the address space of this word register overlaps the address space of the error and feature byte-wide registers at offset 1. when accessed twice as byte register with ?ce1 low, the first byte is the even byte of the word and the second is the odd byte. a byte access to register 0 with ?ce1 high and ?ce2 low accesses the error (read) or feature (write) register. registers at offset 8, 9 and d are non-overlapping duplicates of the registers at offset 0 and 1. register 8 is equivalent to register 0, while register 9 accesses the odd byte. therefore, if the registers are byte accessed in the order 9 then 8 the data will be transf erred odd byte then even byte. repeated byte accesses to register 8 or 0 will access consecutive (even than odd) bytes from the data buffer. repeated word accesses to register 8, 9 or 0 will access consecutive words from the data buffer, however repeated byte accesses to register 9 are not supported. repe ated alternating byte accesses to registers 8 then 9 will access consecutive (even then odd) bytes from the data buffer. table 38. contiguous i/o decoding ? reg a10 to a4 a3 a2 a1 a0 offset ? iord=0 ? iowr=0 0 x 0 0 0 0 0h even data register even data register 0 x 0 0 0 1 1h error register feature register 0 x 0 0 1 0 2h sector count register sector count register 0 x 0011 3h sector number register sector number register 0 x 0 1 0 0 4h cylinder low register cylinder low register 0 x 0 1 0 1 5h cylinder high register cylinder high register 0 x 0110 6h select card/head register select card/head register 0 x 0 1 1 1 7h status register command register 0 x 1000 8h dup. even data register dup. even data register 0 x 1 0 0 1 9h dup. odd data register dup. odd data register 0 x 1 1 0 1 dh dup. error register dup. feature register 0 x 1110 eh alternate status register device control register 0 x 1 1 1 1 fh drive address register reserved
software interface SMCXXXBF 46/91 8.4 i/o primary and secondar y address configurations when the system decodes the primary and secondary address configurations, the registers are accessed in the block of i/o space as shown in ta b l e 3 9 as for the memory mapped addressing, register 0 is accessed with ?ce1 low and ?ce2 low (and a0 don?t care) as a word register on the combined odd and even data bus (d15 to d0). this register may also be accessed with ?ce1 low and ?ce2 high, by a pair of byte accesses to offset 0. the address space of this word register overlaps the address space of the error and feature byte-wide registers at offset 1. when accessed twice as byte register with ?ce1 low, the first byte is the even byte of the word and the second is the odd byte. a byte access to register 0 with ?ce1 high and ?ce2 low accesses the error (read) or feature (write) register. table 39. primary and secondary i/o decoding ? reg a9 to a4 a3 a2 a1 a0 ? iord=0 ? iowr=0 0 1f(17)h 0 0 0 0 even data register even data register 0 1f(17)h 0 0 0 1 error register feature register 0 1f(17)h 0 0 1 0 sector count register sector count register 0 1f(17)h 0 0 1 1 sector number register sector number register 0 1f(17)h 0 1 0 0 cylinder low register cylinder low register 0 1f(17)h 0 1 0 1 cylinder high register cylinder high register 0 1f(17)h 0 1 1 0 select card/head register select card/head register 0 1f(17)h 0 1 1 1 status register command register 0 3f(37)h 0 1 1 0 alternate status register device control register 0 3f(37)h 0 1 1 1 drive address register reserved
SMCXXXBF software interface 47/91 8.5 true ide mode addressing when the card is configured in the true ide mode, the i/o decoding is as shown in ta bl e 4 0 table 40. true ide mode i/o decoding ? cs1 ? cs0 a2 a1 a0 -dmack ? iord=0 ? iowr=0 1 0 0 0 0 1 pio rd data pio wr data 1 1 x x x 0 dma rd data dma wr data 1 0 0 0 1 1 error register features 1 0 0 1 0 1 sector count sector count 1 0 0 1 1 1 sector no. sector no. 1 0 1 0 0 1 cylinder low cylinder low 1 0 1 0 1 1 cylinder high cylinder high 1 0 1 1 0 1 select card/head select card/head 1 0 1 1 1 1 status command 0 1 1 1 0 1 alt stat us alt status
cf-ata registers SMCXXXBF 48/91 9 cf-ata registers the following section describes the hardware registers used by the host software to issue commands to the card. these registers are collectively referred to as the ?task file?. in accordance with the pcmcia specification, each register that is located at an odd offset address can be accessed in the pc card memory or pc card i/o modes. the register can be addressed in two ways: using the normal register address. using the corresponding even address (normal address -1) when -ce1 is high and - ce2 low, unless -iois16 is high (not asserted by the card) and an i/o cycle is in progress. register data are input or output on data bus lines d15-d8. in true ide mode, the size of the transfer is based solely on the register being addressed. all registers are 8-bit only except for the data register, which is normally 16 bits. however, they can be configured to be accessed in 8-bit mode for non-dma operations, by using a set features command (see section 10.17 ). 9.1 data register the data register is located at address 1f0h [170h], offset 0h, 8h, and 9h. the data register is a 16 bit register used to transfer data blocks between the card data buffer and the host. this register overlaps the error register. ta b l e 4 1 and ta bl e 4 2 describes the combinations of data register access and explains the overlapped data and error/feature registers. because of the overlapped registers, access to the 1f1h, 171h or offset 1 are not defined for word (?ce2 and ?ce1 set to ?0?) operations, and are treated as accesses to the word data register. the duplicated registers at offsets 8, 9 and dh have no restrictions on the operations that can be performed. table 41. data register access (memory and i/o mode) data register ?ce2 ?ce1 a0 -reg (1) offset data bus word data register 0 0 x - 0h, 8h, 9h d15 to d0 even data register 1 0 0 - 0h, 8h d7 to d0 odd data register 1 0 1 - 9h d7 to d0 odd data register 0 1 x - 8h, 9h d15 to d8 error/feature register 1 0 1 - 1h, dh d7 to d0 error/feature register 0 1 x - 1h d15 to d8 error/feature register 0 0 x - dh d15 to d8 1. -reg signal is mode dependent. it must be low when the card operates in i/o mode and high w hen it operates in memory mode.
SMCXXXBF cf-ata registers 49/91 9.2 error register the error register is a read-only register, located at address 1f1h [171h], offset 1h, 0dh. this read only register contains additional in formation about the source of an error when an error is indicated in bit 0 of the status register. the bits are defined in ta bl e 4 3 this register is accessed on data bits d15 to d8 during a write operation to offset 0 with ?ce2 low and ? ce1 high. 9.2.1 bit 7 (bbk) this bit is set when a bad block is detected. 9.2.2 bit 6 (unc) this bit is set when an uncorrectable error is encountered. 9.2.3 bit 5 this bit is ?0?. 9.2.4 bit 4 (idnf) this bit is set if the requested sector id is in error or cannot be found. 9.2.5 bit 3 this bit is ?0?. 9.2.6 bit 2 (abort) this bit is set if the command has been aborted because of a card status condition (not ready, write fault, etc.) or when an invalid command has been issued. 9.2.7 bit 1 this bit is ?0?. 9.2.8 bit 0 (amnf) this bit is set when there is a general error. table 42. data register access (true ide mode) data register ?cs1 ?cs0 a0 -dmack offset data bus pio word data register 1 0 0 1 0h d15 to d0 dma word data register 1 1 x 0 x d15 to d0 pio byte data register (selected using set features command) 1 0 0 1 0h d7 to d0
cf-ata registers SMCXXXBF 50/91 9.3 feature register the feature register is a write-only register, located at address 1f1h [171h], offset 1h, dh. this write-only register provi des information on features th at the host can utilize. it is accessed on data bits d15 to d8 during a write operation to offset 0 with ?ce2 low and ? ce1 high. 9.4 sector count register the sector count register is located at address 1f2h [172h], offset 2h. this register contains the number of sectors of data to be transferred on a read or write operation between the host and card. if the value in this register is zero, a count of 256 sectors is specified. if the command was successful, this register is zero at completion. if not successfully completed, the register contains the number of sectors that need to be transferred in order to complete the request. the default value is 01h. 9.5 sector number (lba 7-0) register the sector number register is located at address 1f3h [173h], offset 3h. this register contains the starting sector number or bits 7 to 0 of the logical block address (lba), for any data access for the subsequent sector transfer command. 9.6 cylinder low (lba 15-8) register the cylinder low register is located at address 1f4h [174h], offset 4h. this register contains the least significant 8 bits of the starting cylinder address or bits 15 to 8 of the logical block address. 9.7 cylinder high (lba 23-16) register the cylinder high register is located at address 1f5h [175h], offset 5h. this register contains the most significant bits of the starting cylinder address or bits 23 to 16 of the logical block address. table 43. error register d7 d6 d5 d4 d3 d2 d1 d0 bbk unc 0 idnf 0 abrt 0 amnf
SMCXXXBF cf-ata registers 51/91 9.8 drive/head (lba 27-24) register the driver/head register is located at address 1f6h [176h], offset 6h. the drive/head register is used to select the drive and head. it is also used to select lba addressing instead of cylinder/head/sector addressing. the bits are defined in ta bl e 4 4 9.8.1 bit 7 this bit is set to ?1?. 9.8.2 bit 6 (lba) lba is a flag to select either cylinder/head/sector (chs) or logical block address mode (lba). when lba is set to ?0?, cylinder/head/sector mode is selected. when lba is set to?1?, logical block address is selected. in logical block mode, the logical block address is interpreted as follows: lba7-lba0: sector number register d7 to d0 lba15-lba8: cylinder low register d7 to d0 lba23-lba16: cylinder high register d7 to d0 lba27-lba24: drive/head register bits hs3 to hs0 9.8.3 bit 5 this bit is set to ?1?. 9.8.4 bit 4 (drv) drv is the drive number. when drv is ?0?, dr ive/card 0 is selected (master). when drv is ?1?, drive/card 1 is selected (sla ve). the card is set to card 0 or 1 using the copy field (drive #) of the pcmcia socket & copy configuration register. 9.8.5 bit 3 (hs3) when operating in the cylinder, head, sector mode, this is bit 3 of the head number. it is bit 27 in the logical block address mode. 9.8.6 bit 2 (hs2) when operating in the cylinder, head, sector mode, this is bit 2 of the head number. it is bit 26 in the logical block address mode. 9.8.7 bit 1 (hs1) when operating in the cylinder, head, sector mode, this is bit 1 of the head number. it is bit 25 in the logical block address mode. 9.8.8 bit 0 (hs0) when operating in the cylinder, head, sector mode, this is bit 0 of the head number. it is bit 24 in the logical block address mode.
cf-ata registers SMCXXXBF 52/91 9.9 status & alternate status registers the status & alternate status registers are located at addresses 1f7h [177h] and 3f6h [376h], respectively. offsets are 7h and eh. these registers return the card status when read by the host. reading the status register clears a pending interrupt. reading the auxiliary status register does not clear a pending interrupt. the status register should be accessed in byte mode; in word mode it is recommended that alternate status register is used. the status bits are described as follows 9.9.1 bit 7 (busy) the busy bit is set when only the card can access the command register and buffer, the host is denied access. no other bits in this re gister are valid when th is bit is set to ?1?. 9.9.2 bit 6 (rdy) this bit indicates whether the device is capable of performing compactflash memory card operations. this bit is cleared at power up and remains cleared until the card is ready to accept a command. 9.9.3 bit 5 (dwf) when set this bit indicates a write fault has occurred. 9.9.4 bit 4 (dsc) this bit is set when the card is ready. 9.9.5 bit 3 (drq) the data request is set when the card requires information be transferred either to or from the host through the data register. the bit is cleared by the next command. 9.9.6 bit 2 (corr) this bit is set when a correctable data error has been encountered and the data has been corrected. this condition does not terminate a multi-sector read operation. 9.9.7 bit 1 (idx) this bit is always set to ?0?. table 44. drive/head register d7 d6 d5 d4 d3 d2 d1 d0 1 lba 1 drv hs3 hs2 hs1 hs0
SMCXXXBF cf-ata registers 53/91 9.9.8 bit 0 (err) this bit is set when the previous command has ended in some type of error. the bits in the error register contain additional information describing the error. in case of read or write access commands that end with an error, the address of the first sector with an error is in the command block registers. this bit is cleared by the next command. 9.10 device control register the device control register is located at address 3f6h [376h], offset eh. this write-only register is used to control the compactflash memory card interrupt request and to issue an ata soft reset to the card. this register can be written even if the device is busy. the bits are defined as follows: 9.10.1 bit 7 to 3 don?t care. the host should reset this bit to ?0?. 9.10.2 bit 2 (sw rst) this bit is set to 1 in order to force the compactflash storage card to perform an at disk controller soft reset oper ation. this clears status regist er and writes diagnostic code in error register after a write or read sector error. the card remains in reset until this bit is reset to ?0.? 9.10.3 bit 1 (?ien) when the interrupt enable bit is set to ?0?, ?ireq interrupts are enabled. when the bit is set to ?1?, interrupts from the card are disabled. this bit also controls the int bit in the card configuration and status register. it is set to ?0? at power on. 9.10.4 bit 0 this bit is set to ?0?. table 45. status & alternate status register d7 d6 d5 d4 d3 d2 d1 d0 busy rdy dwf dsc drq corr 0 err table 46. device control register d7 d6 d5 d4 d3 d2 d1 d0 x(0) x(0) x(0) x(0) x(0) sw rst ?ien 0
cf-ata registers SMCXXXBF 54/91 9.11 card (drive) address register the card (drived) address register is located at address 3f7h [377h], offset fh. this read-only register is pr ovided for compatibility with the at disk drive interface and can be used for confirming the drive status. it is recommended that this register is not mapped into the host?s i/o space because of potential conflicts on bit 7. the bits are defined as follows: 9.11.1 bit 7 this bit is don?t care. 9.11.2 bit 6 (?wtg) this bit is ?0? when a write operation is in progress, otherwise, it is ?1?. 9.11.3 bit 5 (?hs3) this bit is the negation of bit 3 in the drive/head register. 9.11.4 bit 4 (?hs2) this bit is the negation of bit 2 in the drive/head register. 9.11.5 bit 3 (?hs1) this bit is the negation of bit 1 in the drive/head register. 9.11.6 bit 2 (?hs0) this bit is the negation of bit 0 in the drive/head register. 9.11.7 bit 1 (?nds1) this bit is ?0? when drive 1 is active and selected. 9.11.8 bit 0 (?nds0) this bit is ?0? when the drive 0 is active and selected. table 47. card (drive) address register d7 d6 d5 d4 d3 d2 d1 d0 x ?wtg ?hs3 ?hs2 ?hs1 ?hs0 ?nds1 ?nds0
SMCXXXBF cf-ata command description 55/91 10 cf-ata command description this section defines the software requirements and the format of the commands the host sends to the card. commands are issued to the card by loading the required registers in the command block with the supplied parameters, and then writing the command code to the command register. there are three classes of command acceptance, all dependent on the host not issuing comm ands unless the card is not busy (bsy is ?0?). class 1: upon receipt of a class 1 command, the card sets bsy within 400ns. class 2: upon receipt of a class 2 command, th e card sets bsy withi n 400ns, sets up the sector buffer for a write operation, sets drq within 700s, and clears bsy within 400ns of setting drq. class 3: upon receipt of a class 3 command, th e card sets bsy withi n 400ns, sets up the sector buffer for a write operation, sets drq within 20ms (assuming no re- assignments), and clears bsy wit hin 400ns of setting drq. for reasons of backward compatibility some co mmands are implemente d as ?no operation? nop. ta bl e 4 8 summarizes the cf-ata command set with the paragraphs that follow describing the individual commands and the task file for each. table 48. cf-ata command set (1) class command code fr sc sn cy dh lba 1 check power mode e5h or 98h d 1 execute drive diagnostic 90h yd 1 erase sector(s) c0h y y y y y 1 identify drive ech d 1 idle e3h or 97h y d 1 idle immediate e1h or 95h d 1 initialize drive parameters 91h y y 1 nop 00h d 1 read buffer e4h d 1 read dma c8 y y y y y 1 read multiple c4h y y y y y 1 read sector(s) 20h or 21h y y y y y 1 read verify sector(s) 40h or 41h y y y y y 1 recalibrate 1xh d 1 request sense 03h d 1seek 7xh yyyy 1 set features efh y d 1 set multiple mode c6h y d 1 set sleep mode e6h or 99h d
cf-ata command description SMCXXXBF 56/91 10.1 check power mode (98h or e5h) this command checks the power mode. issuing the command while the card is in standby mode, is about to enter standby, or is exiting standby, the command will set bsy, set th e sector count register to 00h, clear bsy and generate an interrupt. issuing the command when the card is in idle mode will se t bsy, set the sector count register to ffh, clear bsy and generate an interrupt. ta bl e 4 9 defines the byte sequence of the check power mode command. 1 stand by e2h or 96h d 1 stand by immediate e0h or 94h d 1 translate sector 87h y y y y y 1 wear level f5h y 2 write buffer e8h d 2write dma ca yyyyy 3 write multiple c5h y y y y y 3 write multiple w/o erase cdh y y y y y 2 write sector(s) 30h or 31h y y y y y 2 write sector(s) w/o erase 38h y y y y y 3 write verify 3ch y y y y y 1. fr = features register, sc = sector count regi ster, sn = sector number register, cy = cylinder registers, dh = card/drive/head register, lba = logical block address mode supported (see command descriptions for use), y - the register contains a valid parameter for th is command. for the drive/head register y means both the compact flash memory ca rd and head parameters are used. d - only the compact flash memory card par ameter is valid and not the head parameter c - the register contains command specif ic data (see command descriptors for use). table 48. cf-ata command set (1) (continued) class command code fr sc sn cy dh lba table 49. check power mode bit 76543210 command (7) 98h or e5h c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) x feature (1) x
SMCXXXBF cf-ata command description 57/91 10.2 execute drive diagnostic (90h) this command performs the internal diagnostic tests implemented by the card. in pcmcia configuration, this command only runs on the card which is addressed by the drive/head register when the command is issu ed. this is because pcmcia card interface does not allow for direct inter-drive communication. in true ide mode, the drive bit is ignored and the diagnostic command is executed by both the master and the slave with the master responding with the status for both devices. ta bl e 5 0 defines the execute drive diagnostic command byte sequence. the diagnostic codes shown in ta b l e 5 1 are returned in the error register at the end of the command. table 50. execute drive diagnostic bit 765432 1 0 command (7) 90h c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) x feature (1) x table 51. diagnostic codes code error type 01h no error detected 02h formatter device error 03h sector buffer error 04h ecc circuitry error 05h controlling microprocessor error 8xh slave error in true ide mode
cf-ata command description SMCXXXBF 58/91 10.3 erase sector(s) (c0h) this command is used to pre-erase and condition data sectors prior to a write sector without erase command or a write multiple without erase command. there is no data transfer associated with this command but a write fault error status can occur. ta b l e 5 2 defines the byte sequence of the erase sector command. 10.4 identify drive (ech) the identify drive command enables the host to receive parameter information from the card. this command has the same protocol as the read sector(s) command. ta bl e 5 3 defines the identify drive command byte sequence. all reserved bits or words are zero. ta bl e 5 4 shows the definition of each field in the identify drive information. 10.4.1 word 0: gener al configuration this field indicates the general characteristics of the device. the default value for word 0 is set to 848ah. it is recommended that pcmcia modes of operation report only the 848ah value as they are always intended as removable devices. alternate configuration values for word 0 is 044ah. some operating systems require bit 6 of word 0 to be set to ?1? (non-removable device) to use the card as the root storage device. the card must be the root storage device when a host completely replaces conventional disk storage with a compactflash card in true ide mode. to support this require ment and provide capability for any future removable media cards, alternate value of word 0 is set in true ide mode of operation. 10.4.2 word 1: default number of cylinders this field contains the number of translated cylinders in the default translation mode. this value will be the same as the number of cylinders. 10.4.3 word 3: default number of heads this field contains the number of translated heads in the default translation mode. table 52. erase sector(s) bit 76543210 command (7) c0h c/d/h (6) 1 lba 1 drive head (lba 27-24) cyl high (5) cylinder high (lba 23-16) cyl low (4) cylinder low (lba 15-8) sect num (3) sector number (lba 7-0) sect cnt (2) sector count feature (1) x
SMCXXXBF cf-ata command description 59/91 10.4.4 word 6: default num ber of sectors per track this field contains the number of sectors per track in the default translation mode. 10.4.5 word 7-8: number of sectors per card this field contains the number of sectors per card. this double word value is also the first invalid address in lba translation mode. 10.4.6 word 10-19: memory card serial number the contents of this field are right justified and padded with spaces (20h). 10.4.7 word 23-26: firmware revision this field contains the revision of the firmware for this product. 10.4.8 word 27-46: model number this field contains the model number for this product and is left justified and padded with spaces (20h). 10.4.9 word 47: read/writ e multiple sector count this field contains the maximum number of sectors that can be read or written per interrupt using the read multiple or write multiple commands. 10.4.10 word 49: capabilities bit 13 standby timer: is set to ?0? to indicate that the standby timer operation is defined by the manufacturer. bit 9 lba support: compactflash memory cards support lba mode addressing. bit 8 dma support: read/write dma commands are supported. 10.4.11 word 51: pio data transfer cycle timing mode this field defines the mode for pio data tr ansfer. for backward compatibility with bioss written before word 64 was defined for advanced modes, a device reports in word 51, the highest original pio mode it can support (pio mode 0, 1 or 2). bits 15-8: are set to 02h. 10.4.12 word 53: translation parameter valid bit 1: is set to '1' to indicate that words 64 to 70 are valid bit 0: is set to '1' to indicate that words 54 to 58 are valid 10.4.13 word 54-56: current number of cylinders, heads, sectors/track these fields contains the current number of user addressable cylinders, heads, and sectors/track in the current translation mode.
cf-ata command description SMCXXXBF 60/91 10.4.14 word 57-58: current capacity this field contains the product of t he current cylinders, heads and sectors. 10.4.15 word 59: mult iple sector setting bits 15-9 are reserved and must be set to ?0?. bit 8 is set to ?1?, to indicate that the multiple sector setting is valid. bits 7-0 are the current setting for the number of sectors to be transferred for every interrupt, on read/write multiple commands; the only values returned are ?00h? or ?01h?. 10.4.16 word 60-61: total s ectors addressable in lba mode this field contains the number of sectors addressable for the card in lba mode only. 10.4.17 word 63: multi-word dma transfer bits 15 through 8 of word 63 of the identify device parameter information identifies which multi-word dma mode that has been selected by host.each bit of word 0 is significant. only one of these bits can be set to ?1? by the compactflash storage card to indicate the multi- word dma mode which is currently selected: bits 15 to 11 are reserved. bit 10: when set to ?1?, it indicates that multi-word dma mode 1 has been selected. bit 9: when set to ?1?, it indicates th at multi-word dma mode 1 has been selected. bit 8: when set to ?1?, it indicates th at multi-word dma mode 0 has been selected. bits 7 to 0 define the multi-word dma data transfer supported field. any number of bits may be set to one in this field by the compactflash storage card to indicate which multi-word dma mode is supported: bit 7 to 3 are reserved. bit 2: when set to ?1?, it indicates that the compactflash storage card supports multi- word dma modes 2, 1 and 0. bit 1: when set to ?1?, it indicates that the compactflash storage card supports multi- word dma modes 1 and 0. bit 0: when set to ?1?, it indicates that the compactflash storage card supports multi- word dma mode 0. note: 1 selection of multi-word dma modes 3 and above are specific to compactflash, and are reported in word 163. 2 support for multi-word dma modes 3 and above are specific to compactflash are reported in word 163.
SMCXXXBF cf-ata command description 61/91 10.4.18 word 64: advanced pio transfer modes supported this field is bit significant. any number of bits may be set to ?1? in this field by the compactflash memory card to indicate the advanced pio modes it is capable of supporting. bits 7-2 are reserved for future advanced pio modes. bit 1 is set to ?1?, indicates that the compactflash memory card supports pio mode 4. bit 0 is set to ?1? to indicate that the compactflash memory card supports pio mode 3. note: support for pio modes 5 and above are specific to compactflash are reported in word 163 10.4.19 word 65: minimum mult i-word dma transfer cycle time word 65 of the parameter information of the identify device command is defined as the minimum multi-word dma transfer cycle time. it corresponds to the minimum cycle time for which the card ensures data integrity during transfers. it is expressed in nanoseconds. the returned value is ?50h? (for cycle time values refer to ta bl e 2 2 ). 10.4.20 word 66: recommended multi- word dma transfer cycle time word 66 of the parameter information of the identify device command is defined as the recommended multi-word dma transfer cycle time. the returned value is ?50h? (for cycle time values refer to ta bl e 2 2 ). 10.4.21 word 67: minimum pio transfer cycle time wit hout flow control this field gives the minimum cycle time (in ns) that the host should use for the compactflash memory card to ensure data integrity during transfers when flow control is not used. the returned value is ?50h? (for cycle time values refer to ta b l e 2 2 ). 10.4.22 word 68: minimum pio tr ansfer cycle time with iordy this field gives the minimum cycle time (in ns) supported by the compactflash memory card to perform data transfers using iordy flow control. the returned value is ?50h? (for cycle time values refer to ta bl e 2 2 ).
cf-ata command description SMCXXXBF 62/91 10.4.23 word 163: advanced true ide timing mode capabilities and settings this word describes the cap abilities and current settings fo r cfa defined advanced timing modes using the true ide interface. there are four sub-fields that describe the advanced pio and advanced multi-word dma timing modes supported and selected: bits 2-0: advanced true ide pio mode supported. the returned value is ?2h? to indicate that pio mode 6 is the highest pio mode supported. bits 5-3: advanced true ide multi-word dma mode supported. the returned value is ?2h? to indicate that multi-word dma mode 4 is the highest multi- word dma mode supported. bits 8-6: advanced true ide pio mode selected. these bits indicate the current true ide pio mode selected on the card. bits 11-9: advanced true ide multi-word dma mode selected. these bits indicate the current true ide multi-word dma mode selected on the card. 10.4.24 word 164: advanced pcmci a i/o and memory timing modes capabilities and settings this word describes the capab ilities and current settings fo r cfa defined advanced timing modes using the memory and pcmcia i/o interface: bits 2-0: maximum advanced pcmcia i/o mode supported. the returned value is ?3h? to indicate that 80ns is the maximum i/o timing mode supported by the card. bits 5-3: maximum pcmcia memory timing mode supported. the returned value is ?3h? to indicate that 80ns is the maximum pcmcia memory timing mode supported by the card. table 53. identify drive bit 765432 1 0 command (7) ech c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) x feature (1) x
SMCXXXBF cf-ata command description 63/91 table 54. identify drive information word address default value total bytes data field type information 0 848ah 2 general configuration (signature of the compactflash memory card) 044ah 2 alternate configuration. 1 xxxxh 2 default number of cylinders 2 0000h 2 reserved 3 00xxh 2 default number of heads 4 0000h 2 obsolete 5 0000h 2 obsolete 6 xxxxh 2 default number of sectors per track 7-8 xxxxh 4 number of sectors per card (word 7 = msw, word 8 = lsw) 9 0000h 2 obsolete 10-19 aaaa 20 serial number in ascii (right justified) 20 0000h 2 obsolete 21 0000h 2 obsolete 22 0004h 2 reserved 23-26 aaaa 8 firmware revision in ascii. big endian byte order in word 27-46 aaaa 40 model number in ascii (right justified) big endian byte order in word 47 0001h 2 maximum number of sectors on read/write multiple command 48 0000h 2 reserved 49 0200h 2 capabilities 50 0000h 2 reserved 51 0200h 2 pio data transfer cycle timing mode 52 0000h 2 obsolete 53 0003h 2 field validity 54 xxxxh 2 current numbers of cylinders 55 xxxxh 2 current numbers of heads 56 xxxxh 2 current sectors per track 57-58 xxxxh 4 current capacity in sectors (lbas)(word 57 = lsw, word 58 = msw) 59 0100h 2 multiple sector setting 60-61 xxxxh 4 total number of sectors addressable in lba mode 62 0000h 2 reserved.
cf-ata command description SMCXXXBF 64/91 10.5 idle (97h or e3h) this command causes the card to set bsy, enter the idle mode, clear bsy and generate an interrupt. if the sector count is non-zero, it is interpreted as a timer count (each count is 5ms) and the automatic power down mode is enabled. if the sector count is zero, the automatic power down mode is disabled. note that this time base (5ms) is different from the ata specification. ta bl e 5 5 defines the byte sequence of the idle command. 63 0407h 2 multi-word dma transfer. in pcmcia mode, this value is ?0h?. 64 0003h 2 advanced pio modes supported 65 0050h 2 minimum multi-word dma transfer cycle time per word. in pcmcia mode this value is ?0h?. 66 0050h 2 recommended multi-word dma transfer cycle time. in pcmcia mode this value is ?0h?. 67 0050h 2 minimum pio transfer cycle time without flow control 68 0050h 2 minimum pio transfer cycle time with iordy flow control 69-128 0000h 120 reserved 129-159 0000h 62 manufacturer unique bytes 160-162 0000h 4 reserved 163 0492h 2 cf advanced true ide timing mode capability and setting 164 001bh 2 cf advanced pcmcia i/o and memory timing mode capability 165-255 0000h 190 reserved table 54. identify drive information (continued) word address default value total bytes data field type information table 55. idle bit 76543210 command (7) 97h or e3h c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) timer count (5ms increments) feature (1) x
SMCXXXBF cf-ata command description 65/91 10.6 idle immedi ate (95h or e1h) this command causes the card to set bsy, enter the idle mode, clear bsy and generate an interrupt. ta b l e 5 6 defines the idle immediate command byte sequence. 10.7 initialize drive parameters (91h) this command enables the host to set the number of sectors per track and the number of heads per cylinder. only the sector count and the card/drive/head registers are used by this command. ta bl e 5 7 defines the initialize drive parameters command byte sequence. table 56. idle immediate bit 76543210 command (7) 95h or e1h c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) x feature (1) x table 57. initialize drive parameters bit 765432 1 0 command (7) 91h c/d/h (6) x 0 x drive max head (no. of heads 1) cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) number of sectors feature (1) x
cf-ata command description SMCXXXBF 66/91 10.8 nop (00h) this command always fails with the compac tflash memory card returning command aborted. ta b l e 5 8 defines the byte sequence of the nop command. 10.9 read buffer (e4h) the read buffer command enables the host to read the current contents of the card?s sector buffer. this command has the same protocol as the read sector(s) command. ta bl e 5 9 defines the read buffer command byte sequence. table 58. nop bit 76543210 command (7) 00h c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) x feature (1) x table 59. read buffer bit 765432 1 0 command (7) e4h c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) x feature (1) x
SMCXXXBF cf-ata command description 67/91 10.10 read dma (c8h) this command uses multi-word dma mode to read from 1 to 256 sectors as specified in the sector count register. if the se ctor count is set to ?0?, 256 sectors will be read by issuing a read dma command. data transfer begins at the sector specified in the sector number register. when the read dma command is issued, the compactflash card asserts bsy, and transfers all or part of the sector data in the buffer. the card can then set drq and clear bsy, although it is not required. the card asserts dmarq when data are available to be transferred. the host then reads the 512*sector-count bytes of data from the card using dma protocol. when dmarq is asserted, the host asserts -dmack to notify it is ready to transfer data, and asserts -iord once for each 16 bit word to be transferred. interrupts are not generated for each sector transfer, but when all sectors have been transferred or when an error occurred during the operation. an abort error is returned by the card when a read dma command is sent by the host and the 8-bit transfer mode has been enabled by the set features command. ta bl e 6 0 defines the read dma command byte sequence. table 60. read dma bit 765432 1 0 command (7) c8h c/d/h (6) lba drive head (lba 27-24) cyl high (5) cylinder high (lba 23-16) cyl low (4) cylinder low (lba 15-8) sect num (3) sector number (lba 7-0) sect cnt (2) sector count feature (1) x
cf-ata command description SMCXXXBF 68/91 10.11 read multiple (c4h) the read multiple command performs similarly to the read sectors command. interrupts are not generated on every sector, but on the transfer of a block which contains the number of sectors defined by a set multiple command. command execution is identical to the read sectors operation except that the number of sectors defined by a set multiple command are transferred without intervening interrupts. drq qualification of the transfer is required only at the start of the data block, not on each sector. the block count of sectors to be transferred without intervening interrupts is programmed by the set multiple mode comman d, which must be executed prior to the re ad multiple command. when the read multiple command is issued, the sector count register contains the number of sectors (not the number of blocks or the block count) requested. if the number of requested sectors is not evenly divisible by the block count, as many full blocks as possible are transferred, followed by a final, partial block transfer. the partial block transfer is for n sectors, where: n = (sector count) module (block count). if the read multiple command is attempted before the set multiple mode command has been executed or when read multiple commands are disabled, the read multiple operation is rejected with an aborted command error. disk errors encountered during read multiple commands are posted at the begi nning of the block or partial block transfer, but drq is still set and the data transfer will take place as it no rmally would, including transfer of corrupted data, if any. interrupts are generated when drq is set at the beginning of each block or partial block. the error reporting is the same as that on a read sector(s) command. this command reads from 1 to 256 sectors as specified in the sector count register. a sector count of 0 requests 256 sectors. the transfer begins at the sector specified in the sector number register. if an error occurs, the read terminates at the sector where the error occurred. the command block registers contain the cylinder, head and sector number of the sector where the error occurred. the flawed data are pending in the sector buffer. subsequent blocks or partial blocks are transferred only if the error was a correctable data error. all other errors cause the command to stop after transfer of the block which contained the error. ta bl e 6 1 defines the read multiple command byte sequence. table 61. read multiple bit 765432 1 0 command (7) c4h c/d/h (6) 1 lba 1 drive head (lba 27-24) cyl high (5) cylinder high (lba 23-16) cyl low (4) cylinder low (lba 15-8) sect num (3) sector number (lba 7-0) sect cnt (2) sector count feature (1) x
SMCXXXBF cf-ata command description 69/91 10.12 read sector(s) (20h or 21h) this command reads from 1 to 256 sectors as specified in the sector count register. a sector count of 0 requests 256 sectors. the transfer begins at the sector specified in the sector number register. when this command is issued and after each sector of data (except the last one) has been read by the host, the card sets bsy, puts the sector of data in the buffer, sets drq, clears bsy, and generates an interrupt. the host then reads the 512 bytes of data from the buffer. if an error occurs, the read terminates at the sector where the error occurred. the command block registers contain the cylinder, head, and sector number of the sector where the error occurred. the flawed data are pending in the sector buffer. ta b l e 6 2 defines the read sector command byte sequence. 10.13 read verify sector(s) (40h or 41h) this command is identi cal to the read sectors command, except that drq is never set and no data is transferred to the host. when the command is accepted, the card sets bsy. when the requested sectors have been verified, the card clears bsy and generates an interrupt. if an error occurs, the verify terminates at the sector where the error occurs. the command block registers contain the cylinder, head and sector number of the sector where the error occurred. the sector count register contains the number of sectors not yet verified. ta bl e 6 3 defines the read verify sector command byte sequence. table 62. read sector(s) bit 76543 2 1 0 command (7) 20h or 21h c/d/h (6) 1 lba 1 drive head (lba 27-24) cyl high (5) cylinder high (lba 23-16) cyl low (4) cylinder low (lba 15-8) sect num (3) sector number (lba 7-0) sect cnt (2) sector count feature (1) x
cf-ata command description SMCXXXBF 70/91 10.14 recalibrate (1xh) this command is effectively a nop command to the card and is prov ided for compatibility purposes. ta b l e 6 4 defines the recalibrate command byte sequence. table 63. read verify sector(s) bit 765432 1 0 command (7) 40h or 41h c/d/h (6) 1 lba 1 drive head (lba 27-24) cyl high (5) cylinder high (lba 23-16) cyl low (4) cylinder low (lba 15-8) sect num (3) sector number (lba 7-0) sect cnt (2) sector count feature (1) x table 64. recalibrate bit 765432 1 0 command (7) 1xh c/d/h (6) 1 lba 1 drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) x feature (1) x
SMCXXXBF cf-ata command description 71/91 10.15 request sense (03h) this command requests extended error information for the previous command. ta bl e 6 5 defines the request sens e command byte sequence. ta b l e 6 6 defines the valid extended error codes. the extended error code is returned to the host in the error register. table 65. request sense bit 765432 1 0 command (7) 03h c/d/h (6) 1 x 1 drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) x feature (1) x table 66. extended error codes extended error code description 00h no error detected 01h self test ok (no error) 09h miscellaneous error 21h invalid address (requested head or sector invalid) 2fh address overflow (address too large) 35h, 36h supply or generated voltage out of tolerance 11h uncorrectable ecc error 18h corrected ecc error 05h, 30-34h, 37h, 3eh self test or diagnostic failed 10h, 14h id not found 3ah spare sectors exhausted 1fh data transfer error / aborted command 0ch, 38h, 3bh, 3ch, 3fh corrupted media format 03h write / erase failed
cf-ata command description SMCXXXBF 72/91 10.16 seek (7xh) this command is effectively a nop command to the card although it does perform a range check of cylinder and head or lba address and returns an error if the address is out of range. ta bl e 6 7 shows the seek command byte sequence. 10.17 set features (efh) this command is used by the host to establish or select certain features. ta b l e 6 8 shows the set features command byte sequence. ta bl e 6 9 defines all features that are supported. features 01h and 81h are used to enable and clear 8 bit data transfer modes in true ide mode. if the 01h feature command is is sued all data transfer s will occur on the d7- d0 data lines and the ?iois16 signal will not be asserted for data register accesses. the host must not enable this feature for dma transfers. feature 03h allows the host to select the pio or the multi-word dma transfer mode. the number of sectors to be transferred must be specified in the sector count register (see ta bl e 7 0 for values). the upper 5 bits define the type of transfer and the lower 3 bits encode the transfer mode. only one pio mode and one multi-word mode can be selected at a time. the host can change the selected mode by issuing the set features command. feature code 9ah allows the host to configure the card to best meet the host system power requirements. the host programs the sector count register to a value that is equal to one-fourth of the desired maximum average current (in ma) that the card should consume. for example, if the sector count register is set to ?6?, the card must be configured to provide the best possible performance without exceeding 24 ma. upon completion of the command, the card replies to the host with the range of values that it supports. the minimum value is set in the cylinder low register, and the maximum value is set in the cylinder hi regi ster. after power-up, the card defaults to operate at the highest performance and therefore in the highest current mode. values outside this programmable ra nge are accepted by the ca rd. however, the card will operate either at the lowest power or highest performance as appropriate. table 67. seek bit 7 6 5 4 3210 command (7) 7xh c/d/h (6) 1 lba 1 drive head (lba 27-24) cyl high (5) cylinder high (lba 23-16) cyl low (4) cylinder low (lba 15-8) sect num (3) x (lba 7-0) sect cnt (2) x feature (1) x
SMCXXXBF cf-ata command description 73/91 m table 68. set features bit 765432 1 0 command (7) efh c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) config feature (1) feature table 69. features supported feature operation 01h enable 8-bit data transfers. 03h set transfer mode based on value in sector count register. 55h disable read look ahead. 69h nop accepted for backward compatibility. 81h disable 8 bit data transfer. 96h nop accepted for backward compatibility. 97h accepted for backward compatibility. use of this feature is not recommended. 9ah set the host current source capability. allows trade-off between current drawn and read/write speed. table 70. transfer mode values mode bits (7:3) bits (2:0) pio default mode 00000b 000b pio default mode, disable iordy 00000b 001b pio flow control transfer mode 00001b mode (1) 1. mode = transfer mode number reserved 00010b n/a multi-word dma mode 00100b mode
cf-ata command description SMCXXXBF 74/91 10.18 set multiple mode (c6h) this command enables the card to perform read and write multiple operations and establishes the block count for these commands. the sector count register is loaded with the number of sectors per block. upon re ceipt of the command, the card sets bsy and checks the sector count register. if the sector count register contains a valid value and the block count is supported, the value is loaded for all subsequent read multiple and write multiple commands and execution is enabled. if a block count is not supported, an aborted command error is posted, and read multiple and write multiple commands are disabled. if the sector count register contains ?0? when the command is issued, read and write multiple commands are disabled. at power on the default mode is read and write multiple disabled, unless it is disabled by a set feature command. ta b l e 7 1 defines the set multip le mode command byte sequence. 10.19 set sleep mode (99h or e6h) this command causes the compactflash memory card to set bsy, enter the sleep mode, clear bsy and generate an interrupt. recovery from sleep mode is a ccomplished by simply issuing another command. sleep mode is also entered when internal timers expire so the host does not need to issue this command except when it wishes to enter sleep mode immediately. the default value for the timer is 5 milliseconds. note that this time base (5ms) is different from the ata specification. ta bl e 7 2 defines the set sleep mode command byte sequence. table 71. set multiple mode bit 765432 1 0 command (7) c6h c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) sector count feature (1) x
SMCXXXBF cf-ata command description 75/91 10.20 standby (96h or e2) this command causes the card to set bsy, enter the sleep mode (which corresponds to the ata ?standby? mode), clear bsy and return the interrupt immediately. recovery from sleep mode is accomplished by issuing another command. ta b l e 7 3 defines the standby command byte sequence. 10.21 standby immediate (94h or e0h) this command causes the card to set bsy, enter the sleep mode (which corresponds to the ata standby mode), clear bsy and return the interrupt immediately. recovery from sleep mode is accomplished by issuing another command. ta b l e 7 4 defines the standby immediate byte sequence. table 72. set sleep mode bit 765432 1 0 command (7) 99h or e6h c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) x feature (1) x table 73. standby bit 765432 1 0 command (7) 96h or e2h c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) x feature (1) x
cf-ata command description SMCXXXBF 76/91 10.22 translate sector (87h) this command allows the host a method of determining the exact number of times a user sector has been erased and programmed. the controller responds with a 512 byte buffer of information containing the desired cylinder, head and sector, including its logical address, and the hot count, if available, for that sector. ta bl e 7 5 defines the translate sector command byte sequence. ta bl e 7 6 represents the information in the buffer. table 74. standby immediate bit 765432 1 0 command (7) 94h or e0h c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) x feature (1) x table 75. translate sector bit 765432 1 0 command (7) 87h c/d/h (6) 1 lba 1 drive head (lba 27-24) cyl high (5) cylinder high (lba 23-16) cyl low (4) cylinder low (lba 15-8) sect num (3) sector number (lba 7-0) sect cnt (2) x feature (1) x table 76. translate sector information address information 00h-01h cylinder msb (00), cylinder lsb (01) 02h head 03h sector 04-06h lba msb (04) - lsb (06) 07-12h reserved 13h erased flag (ffh) = erased; 00h = not erased 14h-17h reserved 18h-1ah hot count msb (18) - lsb (1a); 0 = hot count not supported 1bh-1ffh reserved
SMCXXXBF cf-ata command description 77/91 10.23 wear level (f5h) this command is effectively a nop command and only implemented for backward compatibility. the sector count register will always be retur ned with a ?00h? indicating wear level is not needed. ta bl e 7 7 defines the wear level command byte sequence. 10.24 write buffer (e8h) the write buffer command enables the host to overwrite contents of the card?s sector buffer with any data pattern desired. this command has the same protocol as the write sector(s) command and transfers 512 bytes. ta bl e 7 8 defines the write buffer command byte sequence. table 77. wear level bit 7 6 5 4 3 2 1 0 command (7) f5h c/d/h (6) x drive flag cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) completion status feature (1) x table 78. write buffer bit 765432 1 0 command (7) e8h c/d/h (6) x drive x cyl high (5) x cyl low (4) x sect num (3) x sect cnt (2) x feature (1) x
cf-ata command description SMCXXXBF 78/91 10.25 write dma (cah) this command uses dma mode to write from 1 to 256 sectors as specified in the sector count register. if the se ctor count is set to ?0?, 256 sect ors will be read by issuing a read dma command. the transfer begins at the sector specified in the sector number register. when the write dam command is issued, the co mpactflash storage card asse rts bsy and transfers all or part of the sector data in the buffer. the card can then set drq and clear bsy, although it is not required. the card asserts dmarq when data are available to be transferred. the host then writes the 512*sector-count bytes of data to the card using the dma protocol. when dmarq is asserted by the card, the host asserts -dmack to notify that it is ready to transfer data, and asserts -iowr once for each 16 bit word to be transferred. interrupts are not generated for each sector transfer, but when all sectors have been transferred or when an error occurred during the operation. an abort error is returned by the card when a write dma command is sent by the host and the 8-bit transfer mode has been enabled by the set features command. ta bl e 7 9 defines the write dma command byte sequence. table 79. write dma bit 765432 1 0 command (7) cah c/d/h (6) lba drive head (lba 27-24) cyl high (5) cylinder high (lba 23-16) cyl low (4) cylinder low (lba 15-8) sect num (3) sector number (lba 7-0) sect cnt (2) sector count feature (1) x
SMCXXXBF cf-ata command description 79/91 10.26 write multiple command (c5h) this command is similar to the write sector s command. the card se ts bsy within 400ns of accepting the command. interrupts are not presented on each sector but on the transfer of a block which contains the number of sectors defined by set multiple. command execution is identical to the write sectors operation except that the number of sectors defined by the set multiple command is transferred without intervening interrupts. drq qualification of the transfer is required only at the start of the data block, not on each sector. the block count of sectors to be transferred without intervening interrupts is programmed by the set multiple mode command, which must be executed prior to the write multiple command. when the write multiple command is issued, the sector count register contains the number of sectors (not the number of blocks or the block count) requested. if the number of requested sectors is not evenly divisible by the sector/block, as many full blocks as possible are transferred, followed by a final, partial block transfer. the partial block transfer is for n sectors, where: n = (sector count) module (block count). if the write multiple command is attempted before the set multiple mode command has been executed or when write multiple commands are disabled, the write multiple operation will be rejected with an aborted command error. errors encountered during write multiple commands are posted after the attempted writes of the block or partial block transferred. the write command ends with the sector in error, even if it is in the middle of a block. subsequent blocks are not transferred in the event of an error. interrupts are generated when drq is set at the beginning of each block or partial block. the command block registers contain the cylinder, head and sector number of the sector where the error occurred and the sector count register contains the residual number of sectors that need to be transferred for successful completion of the command. for example, each block has 4 sectors, a request for 8 sectors is issued and an error occurs on the third sector. the sector count register contains 6 and the address is that of the third sector. note: the current revision of the compactflash memory card only supports a block count of 1 as indicated in the identify drive command information. the writ e multiple command is provided for compatibility with future products which may su pport a larger block count. ta bl e 8 0 defines the write multiple command byte sequence. table 80. write multiple bit 765432 1 0 command (7) c5h c/d/h (6) 1 lba 1 drive head cyl high (5) cylinder high cyl low (4) cylinder low sect num (3) sector number sect cnt (2) sector count feature (1) x
cf-ata command description SMCXXXBF 80/91 10.27 write multiple without erase (cdh) this command is similar to the write multiple command with the exception that an implied erase before write operation is not performed. the sectors should be pre-erased with the erase sector(s) command before this command is issued. ta bl e 8 1 defines the write multiple without erase command byte sequence. 10.28 write sector(s) (30h or 31h) this command writes from 1 to 256 sectors as specified in the sector count register. a sector count of zero requests 256 sectors. the transfer begins at the sector specified in the sector number register. when this command is accepted, the card sets bsy, sets drq and clears bsy, then waits for the host to fill the sector buffer with the da ta to be written. no interrupt is generated to start the first host transfer operation. no data should be transferred by the host until bsy has been cleared by the host. for multiple sectors, after the fi rst sector of data is in the bu ffer, bsy will be set and drq will be cleared. after the next buffer is ready for data, bsy is cleared, drq is set and an interrupt is generated. when the final sector of data is tran sferred, bsy is set and drq is cleared. it will remain in this state until the command is completed at which time bsy is cleared and an interrupt is generated. if an error occurs during a write of more than one sector, writing terminates at the sector where the error occurred. the command block registers contain the cylinder, head and sector number of the sector where the error occurred. the host may then read the command block to determine what error has occurred, and on which sector. ta bl e 8 2 defines the write sector(s) command byte sequence. table 81. write multiple without erase bit 7 6 5 4 3 2 1 0 command (7) cdh c/d/h (6) x lba 1 driv e head cyl high (5) cylinder high cyl low (4) cylinder low sect num (3) sector number sect cnt (2) sector count feature (1) x
SMCXXXBF cf-ata command description 81/91 10.29 write sector(s) without erase (38h) this command is similar to the write sector(s) command with the exception that an implied erase before write operation is not performed. this command has the same protocol as the write sector(s) command. the sectors should be pre-erased with the erase sector(s) command before this command is issued. if the sector is not pre-erased a normal write sector operation will occur. ta b l e 8 3 defines the write sector(s) without erase command byte sequence. table 82. write sector(s) bit 765432 1 0 command (7) 30h or 31h c/d/h (6) 1 lba 1 drive head (lba 27-24) cyl high (5) cylinder high (lba 23-16) cyl low (4) cylinder low (lba 15-8) sect num (3) sector number (lba 7-0) sect cnt (2) sector count feature (1) x table 83. write sector(s) without erase bit 7 6 5 4 3 2 1 0 command (7) 38h c/d/h (6) 1 lb a 1 drive head (lba 27-24) cyl high (5) cylinder high (lba 23-16) cyl low (4) cylinder low (lba 15-8) sect num (3) sector number (lba 7-0) sect cnt (2) sector count feature (1) x
cf-ata command description SMCXXXBF 82/91 10.30 write verify (3ch) this command is similar to the write sector(s ) command, except each sector is verified immediately after being written. this command has the same protocol as the write sector(s) command. ta b l e 8 4 defines the write verify command byte sequence. table 84. write verify bit 765432 1 0 command (7) 3ch c/d/h (6) 1 lba 1 drive head (lba 27-24) cyl high (5) cylinder high (lba 23-16) cyl low (4) cylinder low (lba 15-8) sect num (3) sector number (lba 7-0) sect cnt (2) sector count feature (1) x
SMCXXXBF cis informa tion (typical) 83/91 11 cis information (typical) -------- 0000: code 01, link 04 df 79 01 ff -------- ? tuple cistpl_device (01), length 4 (04) ? device type is funcspec ? extended speed byte used ? device speed is 80ns ? write protect switch is not in control ? device size is 2k bytes -------- 000c: code 1c, link 05 02 df 79 01 ff -------- ? tuple cistpl_device_oc (1c), length 5 (05) ? device conditions: v cc = 3.3v ? device type is funcspec ? extended speed byte used ? device speed is 80ns ? write protect switch is not in control ? device size is 2k bytes -------- 001a: code 18, link 02 df 01 -------- ? tuple cistpl_jedec_c (18), length 2 (02) ? device 0 jedec id: manufacturer df, id 01 -------- 0022: code 20, link 04 0a 00 00 00 -------- ? tuple cistpl_manfid (20), length 4 (04) ? manufacturer # 0x000a hardware rev 0.00 -------- 002e: code 15, link 12 04 01 53 54 4d 00 53 54 4d 2d x x x x 42 00 00 ff
cis information (typical) SMCXXXBF 84/91 -------- ? tuple cistpl_vers_1 (15), length 18 (12) ? major version 4, minor version 1 ? product information: manufacturer: "stm", ? product name: "stm-xxxxb" -------- 0056: code 21, link 02 04 01 -------- ? tuple cistpl_funcid (21), length 2 (02) ? function code 04 (fix ed disk), system init 01 -------- 005e: code 22, link 02 01 01 -------- ? tuple cistpl_funce (22), length 2 (02) ? this is a pc card ata disk -------- 0066: code 22, link 03 02 0c 0f -------- ? tuple cistpl_funce (22), length 3 (03) ?v pp is not required ? this is a silicon device ? identify drive model/serial number is guaranteed unique ? low-power modes supported: sleep standby idle ? drive automatically minimizes power ? all modes include 3f7 or 377 ? index bit is not supported ? -iois16 is unspecified in twin configurations -------- 0070: code 1a, link 05 01 03 00 02 0f -------- ? tuple cistpl_config (1a), length 5 (05) ? last valid configuration index is 3 ? configuration register base address is 200 ? configuration registers present: configuration option register at 200 ? card configuration and status register at 202 ? pin replacement register at 204 ? socket and copy register at 206
SMCXXXBF cis informa tion (typical) 85/91 -------- 007e: code 1b, link 08 c0 c0 a1 01 55 08 00 20 -------- ? tuple cistpl_cftable_entry (1b), length 8 (08) ? configuration table index is 00 (default) ? interface type is memory ? bvds not active, wp not active, rdybsy active ? wait signal support required ?v cc power description: nom v = 5.0 v ? map 2048 bytes of memory to card address 0 ? miscellaneous features: max twins 0, -audio, -readonly, +powerdown -------- 0092: code 1b, link 06 00 01 21 b5 1e 4d -------- ? tuple cistpl_cftable_entry (1b), length 6 (06) ? configuration table index is 00 ?v cc power description: nom v = 3.30 v, peak i = 45.0 ma -------- 00a2: code 1b, link 0a c1 41 99 01 55 64 f0 ff ff 20 -------- ? tuple cistpl_cftable_entr y (1b), length 10 (0a) ? configuration table index is 01 (default) ? interface type is i/o ? bvds not active, wp not active, rdybsy active ? wait signal support not required ?v cc power description: nom v = 5.0 v ? decode 4 i/o lines, bus size 8 or 16 ? irq may be shared, pulse and level mode interrupts are supported ? interrupts in mask ffff are supported ? miscellaneous features: max twins 0, -audio, -readonly, +powerdown -------- 00ba: code 1b, link 06 01 01 21 b5 1e 4d -------- tuple cistpl_cftable_entry (1b), length 6 (06) configuration table index is 01 v cc power description: nom v = 3.30 v,
cis information (typical) SMCXXXBF 86/91 peak i = 45.0 ma -------- 00ca: code 1b, link 0f c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee 20 -------- ? tuple cistpl_cftable_entr y (1b), length 15 (0f) ? configuration table index is 02 (default) ? interface type is i/o ? bvds not active, wp not active, rdybsy active ? wait signal support not required ?v cc power description: ? nom v = 5.0 v ? decode 10 i/o lines, bus size 8 or 16 ? i/o block at 01f0, length 8 ? i/o block at 03f6, length 2 ? irq may be shared, pulse and level mode interrupts are supported ? only irq14 is supported ? miscellaneous features: max twins 0, -audio, -readonly, +powerdown -------- 00ec: code 1b, link 06 02 01 21 b5 1e 4d -------- ? tuple cistpl_cftable_entry (1b), length 6 (06) ? configuration table index is 02 ?v cc power description: nom v = 3.30 v, peak i = 45.0 ma -------- 00fc: code 1b, link 0f c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee 20 -------- ? tuple cistpl_cftable_entr y (1b), length 15 (0f) ? configuration table index is 03 (default) ? interface type is i/o ? bvds not active, wp not active, rdybsy active ? wait signal support not required ?v cc power description: nom v = 5.0 v ? decode 10 i/o lines, bus size 8 or 16 ? i/o block at 0170, length 8 ? i/o block at 0376, length 2 ? irq may be shared, pulse and level mode interrupts are supported ? only irq14 is supported ? miscellaneous features: max twins 0, -audio, -readonly, +powerdown
SMCXXXBF cis informa tion (typical) 87/91 -------- 011e: code 1b, link 06 03 01 21 b5 1e 4d -------- ? tuple cistpl_cftable_entry (1b), length 6 (06) ? configuration table index is 03 ?v cc power description: nom v = 3.30 v, peak i = 45.0 ma -------- 012e: code 14, link 00 -------- ? tuple cistpl_no_link (14), length 0 (00) -------- 0134: code ff -------- ? tuple cistpl_end (ff)
package mechanical SMCXXXBF 88/91 12 package mechanical figure 10. type i compactflash memory card dimensions 26 50 125 1.60mm 0.5 (0.063in 0.002) 3.30mm 0.10 (0.130in 0.004) 1.01mm 0.07 (0.039in 0.003) 1.01mm 0.07 (0.039in 0.003) 0.99mm 0.05 (0.039in 0.002) 2.15mm 0.07 (0.085in 0.003) 2x 3.00mm 0.07 (2x 0.118in 0.003) 0.76mm 0.07 (0.030in 0.003) 0.63mm 0.07 (0.025in 0.003) 41.66mm 0.13 (1.640in 0.005) 42.80mm 0.10 (1.685in 0.004) 4x r 0.5mm 0.1 (4x r 0.020in 0.004) 2x 25.78mm 0.07 (2x 1.015in 0.003) 2x 12.00mm 0.1 (2x 0.472in 0.004) 36.40mm 0.15 (1.433in 0.006) top optional configuration (see note) ai04301b 2.44mm 0.07 (0.096in 0.003) 1.65mm (0.130in)
SMCXXXBF part numbering 89/91 13 part numbering note: other digits may be added to the ordering code for pre-programmed parts or other options. devices are shipped from the factory with the memory content bits erased to ?1?.for further information on any aspect of the device, please contact your nearest st sales office. table 85. ordering information scheme example: smc 01g b f y 6 e memory card standard smc = storage medium, compactflash density 032 = 32 mbytes 064 = 64 mbytes 128 = 128 mbytes 256 = 256 mbytes 512 = 512 mbytes 01g = 1 gbytes 02g = 2 gbytes 04g = 4 gbytes options of the standard b = cf type sm222 memory type f = flash memory card version y= version depending on device technology temperature range 6 = -40 to 85c packing blank = standard packing (tray) e = lead-free package, standard packing (tray)
revision history SMCXXXBF 90/91 14 revision history table 86. document revision history date version revision details 22-sep-2006 1 initial release. 27-oct-2006 2 sustained write and read perfor mances changed to 12.5mb/s and 19mb/s, respectively. table 2: system performance and table 3: current consumption updated. sectors_card and total addressable capacity updated for smc04gbf in table 6: cf capacity specification . table 11: input power updated. note 1 updated below figure 7: i/o write waveforms . read byte access configuration cf+ (8 bits) mode removed from table 32: attribute memory function .
SMCXXXBF 91/91 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by an authorized st representative, st products are not recommended, authorized or warranted for use in milita ry, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2006 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of SMCXXXBF

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X